Function at 0x41fa50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x47d874]
xor eax, esp
mov dword [esp + 0xa8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov edi, 0xf
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], eax
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.0041c530
mov dword [esp + 0x1c], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [eax], eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 8], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], ebx
call fcn.0041c5e0
mov dword [esp + 0x28], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x28]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x28]
mov dword [eax], eax
mov eax, dword [esp + 0x28]
mov dword [eax + 8], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0xc8]
cmp edx, dword [ecx + 0x144]
jb 0x41fc1c
mov ecx, dword [esp + 0x4c]
push ebx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x473469
mov byte [ecx + 4], bl
call fcn.00404936
cmp dword [esp + 0x94], 0x10
jb 0x41fb4f
mov eax, dword [esp + 0x80]
push eax
call fcn.0044e46d
add esp, 4
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
mov edx, dword [eax]
mov esi, ecx
push edx
push esi
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call fcn.0041d200
mov edx, dword [esp + 0x28]
push edx
call fcn.0044e46d
mov eax, dword [esp + 0x20]
add esp, 4
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov edx, dword [eax]
push edx
mov esi, ecx
push esi
lea eax, [esp + 0x48]
push eax
call fcn.00443c20
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0044e46d
mov esi, 0x10
add esp, 4
cmp dword [esp + 0x78], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
jb 0x41fbdc
mov edx, dword [esp + 0x64]
push edx
call fcn.0044e46d
add esp, 4
cmp dword [esp + 0xb0], esi
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jb 0x41fc01
mov eax, dword [esp + 0x9c]
push eax
call fcn.0044e46d
add esp, 4
mov eax, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.0044e472
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov edi, esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
jmp 0x41fc30
cmp edi, ebx
mov edx, dword [esi + 4]
mov dword [esp + 0x48], edx
je 0x41fc3f
cmp edi, esi
je 0x41fc44
call fcn.004501a5
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x10], eax
je 0x41fd14
cmp edi, ebx
jne 0x41fc5b
call fcn.004501a5
mov ecx, dword [esp + 0x10]
cmp ecx, dword [edi + 4]
jne 0x41fc69
call fcn.004501a5
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x4c]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x3c]
mov dword [esp + 0x58], ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.0041ca70
mov edi, eax
mov eax, dword [edi]
cmp eax, ebx
je 0x41fc9f
lea ecx, [esp + 0x24]
cmp eax, ecx
je 0x41fca4
call fcn.004501a5
mov edx, dword [esp + 0x54]
cmp dword [edi + 4], edx
je 0x41fcb4
add dword [esp + 0x14], 1
jmp 0x41fc74
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx + 4]
jne 0x41fcc6
call fcn.004501a5
mov edi, dword [esp + 0x10]
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], edx
call fcn.0041e280
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xc]
mov dword [eax], ecx
cmp edi, dword [edx + 4]
jne 0x41fcf3
call fcn.004501a5
add edi, 0x14
push edi
lea ecx, [esp + 0x1c]
call fcn.0041ef40
lea ecx, [esp + 0xc]
mov dword [eax], ebx
call fcn.0041c060
mov edi, dword [esp + 0xc]
jmp 0x41fc30
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x24]
mov edi, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ecx
lea ebx, [ebx]
cmp edi, ebx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
je 0x41fd46
lea edx, [esp + 0x24]
cmp edi, edx
je 0x41fd4b
call fcn.004501a5
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x40], eax
je 0x41feec
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], edi
call fcn.00448260
cmp dword [esp + 0xc], ebx
jne 0x41fd79
call fcn.004501a5
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
cmp eax, dword [edx + 4]
jne 0x41fd8b
call fcn.004501a5
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0xc], 0x64
jb 0x41feec
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edx
call fcn.00448260
cmp dword [esp + 0x30], ebx
jne 0x41fdb9
call fcn.004501a5
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
cmp edi, dword [eax + 4]
jne 0x41fdcb
call fcn.004501a5
mov ecx, dword [edi + 0x10]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], ecx
push edx
mov ecx, esi
call fcn.0041ee30
push 0xffffffffffffffff
add eax, 4
push ebx
push eax
lea ecx, [esp + 0x6c]
call fcn.00404662
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x84]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00404662
mov ecx, dword [esi + 0xc]
call fcn.0041c8f0
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esi + 0xc]
add ecx, 0x68
mov edi, eax
call fcn.00436c20
test al, al
je 0x41fe78
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.0041ee30
cmp dword [eax + 0x58], 1
jne 0x41fe45
cmp edi, 4
jl 0x41fe8a
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.0041ee30
cmp dword [eax + 0x58], 2
jne 0x41fe5c
cmp edi, 1
jl 0x41fe8a
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0041ee30
cmp dword [eax + 0x58], ebx
jne 0x41fe78
mov edx, dword [esi + 0xc]
cmp edi, dword [edx + 0x8c]
jl 0x41fe8a
lea ecx, [esp + 0x3c]
call fcn.00448260
mov edi, dword [esp + 0x3c]
jmp 0x41fd30
cmp dword [esp + 0x90], ebx
jne 0x41fea7
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x88]
call fcn.00404662
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0041ee30
lea edx, [esp + 0x14]
push edx
mov ecx, esi
mov dword [eax + 0x28], ebx
call fcn.0041ee30
push 0xffffffffffffffff
mov dword [eax + 0x2c], ebx
push ebx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0xa4]
call fcn.00404662
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0041ee30
mov dword [eax + 0x24], 1
cmp dword [esp + 0x74], ebx
jne 0x41ff06
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0x6c]
call fcn.00404662
cmp dword [esp + 0xac], ebx
jne 0x42027f
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx]
add eax, 0x14
mov edi, eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
jmp 0x41ff30
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x18]
add eax, 0x14
cmp edi, ebx
mov dword [esp + 0x48], edx
je 0x41ff45
cmp edi, eax
je 0x41ff4a
call fcn.004501a5
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x10], eax
je 0x42006c
cmp edi, ebx
jne 0x41ff61
call fcn.004501a5
mov ecx, dword [esp + 0x10]
cmp ecx, dword [edi + 4]
jne 0x41ff6f
call fcn.004501a5
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 0xc]
add edi, 0xc
push edi
add ecx, 0x68
call fcn.00436c20
test al, al
je 0x420035
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp edx, dword [eax + 4]
jne 0x41ff9c
call fcn.004501a5
push edi
call fcn.0042c390
add esp, 4
cmp eax, 1
je 0x420035
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp edx, dword [eax + 4]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x54], ecx
jne 0x41ffc8
call fcn.004501a5
push edi
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x20]
call fcn.0041cae0
mov dword [esp + 0x30], eax
mov eax, dword [eax]
cmp eax, ebx
je 0x41ffe9
lea edx, [esp + 0x18]
cmp eax, edx
je 0x41ffee
call fcn.004501a5
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
cmp dword [ecx + 4], eax
jne 0x420035
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp edx, dword [eax + 4]
jne 0x42000d
call fcn.004501a5
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edi
mov byte [ecx + 4], bl
call fcn.00404662
mov ecx, dword [esi + 0xc]
call fcn.0041c8f0
cmp eax, 4
jb 0x420047
lea ecx, [esp + 0xc]
call fcn.0041c120
mov edi, dword [esp + 0xc]
jmp 0x41ff30
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp edi, dword [ecx + 4]
jne 0x420059
call fcn.004501a5
push 0xffffffffffffffff
push ebx
add edi, 0xc
push edi
lea ecx, [esp + 0xa4]
call fcn.00404662
cmp dword [esp + 0xac], ebx
jne 0x42027f
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x18]
mov ecx, dword [edx]
add eax, 0x14
mov edi, eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
mov edi, edi
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x18]
add eax, 0x14
cmp edi, ebx
mov dword [esp + 0x5c], ecx
je 0x4200a5
cmp edi, eax
je 0x4200aa
call fcn.004501a5
mov edx, dword [esp + 0x5c]
cmp dword [esp + 0x10], edx
je 0x420229
cmp edi, ebx
jne 0x4200c1
call fcn.004501a5
mov eax, dword [esp + 0x10]
cmp eax, dword [edi + 4]
jne 0x4200cf
call fcn.004501a5
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0xc]
add eax, 0xc
push eax
add ecx, 0x68
mov dword [esp + 0x34], eax
call fcn.00436c20
test al, al
je 0x4201f2
mov edx, dword [esp + 0x10]
cmp edx, dword [edi + 4]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], ecx
jne 0x420104
call fcn.004501a5
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.0041c860
cmp eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ecx
je 0x420185
cmp dword [eax + 0x24], 0x10
mov edx, dword [eax + 0x20]
mov dword [esp + 0x14], edx
jb 0x420136
mov edx, dword [eax + 0x10]
jmp 0x420139
lea edx, [eax + 0x10]
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx + 0x20]
add ecx, 0xc
mov eax, edi
mov eax, dword [esp + 0x14]
cmp edi, eax
jae 0x42014f
mov eax, edi
cmp dword [ecx + 0x18], 0x10
jb 0x42015a
mov ecx, dword [ecx + 4]
jmp 0x42015d
add ecx, 4
push eax
push edx
push ecx
call fcn.00412464
add esp, 0xc
cmp eax, ebx
jne 0x42017d
cmp edi, dword [esp + 0x14]
jb 0x420185
xor eax, eax
cmp edi, dword [esp + 0x14]
setne al
cmp eax, ebx
jl 0x420185
lea eax, [esp + 0x50]
jmp 0x420199
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
lea eax, [esp + 0x44]
mov ecx, dword [eax]
cmp ecx, ebx
mov edi, dword [eax + 4]
je 0x4201aa
lea edx, [esp + 0x18]
cmp ecx, edx
je 0x4201af
call fcn.004501a5
cmp edi, dword [esp + 0x3c]
jne 0x4201f2
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp edi, dword [eax + 4]
jne 0x4201c7
call fcn.004501a5
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0xc]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00404662
mov ecx, dword [esi + 0xc]
call fcn.0041c8f0
cmp eax, 1
jb 0x420204
lea ecx, [esp + 0xc]
call fcn.0041c120
mov edi, dword [esp + 0xc]
jmp 0x420090
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp edi, dword [ecx + 4]
jne 0x420216
call fcn.004501a5
push 0xffffffffffffffff
push ebx
add edi, 0xc
push edi
lea ecx, [esp + 0xa4]
call fcn.00404662
cmp dword [esp + 0xac], ebx
jne 0x42027f
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0x20]
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
add eax, 0x48
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00404662
mov ecx, dword [esi + 0xc]
call fcn.0041c8f0
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + 0x20]
cmp eax, dword [ecx + 0x148]
jae 0x42027f
push 0xffffffffffffffff
add ecx, 0x48
push ebx
push ecx
lea ecx, [esp + 0xa4]
call fcn.00404662
mov edi, dword [esp + 0x4c]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xa0]
mov esi, 0xf
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
push edx
mov ecx, edi
mov byte [edi + 4], bl
call fcn.00404662
cmp dword [esp + 0x94], 0x10
jb 0x4202bd
mov eax, dword [esp + 0x80]
push eax
call fcn.0044e46d
add esp, 4
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
mov edx, dword [eax]
mov esi, ecx
push edx
push esi
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call fcn.0041d200
mov edx, dword [esp + 0x28]
push edx
call fcn.0044e46d
mov eax, dword [esp + 0x20]
add esp, 4
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov edx, dword [eax]
push edx
mov esi, ecx
push esi
lea eax, [esp + 0x48]
push eax
call fcn.00443c20
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0044e46d
mov esi, 0x10
add esp, 4
cmp dword [esp + 0x78], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
jb 0x42034a
mov edx, dword [esp + 0x64]
push edx
call fcn.0044e46d
add esp, 4
cmp dword [esp + 0xb0], esi
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jb 0x420373
mov eax, dword [esp + 0x9c]
push eax
call fcn.0044e46d
add esp, 4
mov ecx, dword [esp + 0xb4]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044e472
mov esp, ebp
pop ebp
ret 4