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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x488250]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [0x4614bc]
push 0
push 0
push 0x147
push dword [ebx + 0x58]
mov dword [ebp - 0x10c], ebx
call edi
mov ecx, dword [esi + 8]
movsx eax, byte [eax + 0x483248]
cmp eax, ecx
je 0x41fc8d
or word [esi], 1
mov dword [esi + 0x64], ecx
mov dword [esi + 8], eax
push 0
push 0
push 0x147
push dword [ebx + 0x108]
call edi
movsx eax, byte [eax + 0x483249]
cmp eax, dword [esi + 0x10]
je 0x41fcb1
or word [esi], 8
mov dword [esi + 0x10], eax
push 0
push 0
push 0x147
push dword [ebx + 0x5c]
call edi
movzx ecx, byte [esi + 0x30]
cmp eax, ecx
je 0x41fcce
or word [esi], 2
mov byte [esi + 0x30], al
push dword [ebx + 0xe0]
push dword [ebx + 0xdc]
push dword [ebx + 0xd8]
push dword [ebx + 0xd4]
push dword [ebx + 0xd0]
call fcn.0041ee40
add esp, 0x14
cmp dword [esi + 0x18], eax
jne 0x41fcfe
cmp dword [esi + 0x1c], edx
je 0x41fd08
or word [esi], 4
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
push dword [ebx + 0xf4]
push dword [ebx + 0xf0]
push dword [ebx + 0xec]
push dword [ebx + 0xe8]
push dword [ebx + 0xe4]
call fcn.0041ee40
add esp, 0x14
cmp dword [esi + 0x20], eax
jne 0x41fd38
cmp dword [esi + 0x24], edx
je 0x41fd42
or word [esi], 4
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
push 0
push dword [ebx + 0x104]
push dword [ebx + 0x100]
push dword [ebx + 0xfc]
push dword [ebx + 0xf8]
call fcn.0041ee40
add esp, 0x14
cmp dword [esi + 0x28], eax
jne 0x41fd6e
cmp dword [esi + 0x2c], edx
je 0x41fd78
or word [esi], 4
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edx
lea eax, [ebx + 0x10c]
xor edi, edi
mov dword [ebp - 0x108], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x41fdc5
push 0
push 0
push 0xf0
push ecx
call dword [0x4614bc]
dec eax
lea ecx, [esi + 0x56]
neg eax
sbb eax, eax
add eax, 1
je 0x41fdb2
add ecx, edi
cmp byte [ecx], 0
je 0x41fdb9
jmp 0x41fdbf
add ecx, edi
cmp byte [ecx], 0
je 0x41fdbf
or word [esi], 8
mov byte [ecx], al
mov eax, dword [ebp - 0x108]
inc edi
add eax, 4
mov dword [ebp - 0x108], eax
cmp edi, 0xc
jl 0x41fd86
mov eax, dword [ebx + 0x70]
mov dword [ebp - 0x104], eax
lea eax, [esi + 0x49]
mov dword [ebp - 0x100], eax
mov eax, dword [ebx + 0x74]
mov dword [ebp - 0xf8], eax
lea eax, [esi + 0x52]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebx + 0xac]
mov dword [ebp - 0xec], eax
lea eax, [esi + 0x51]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0xe0], eax
lea eax, [esi + 0x31]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebx + 0x7c]
mov dword [ebp - 0xd4], eax
lea eax, [esi + 0x32]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebx + 0x94]
mov dword [ebp - 0xc8], eax
lea eax, [esi + 0x39]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebx + 0xa8]
mov dword [ebp - 0xbc], eax
lea eax, [esi + 0x6f]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebx + 0xc8]
mov dword [ebp - 0xb0], eax
lea eax, [esi + 0x38]
mov dword [ebp - 0xac], eax
mov eax, dword [ebx + 0x80]
mov dword [ebp - 0xa4], eax
lea eax, [esi + 0x4a]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebx + 0x8c]
mov dword [ebp - 0x98], eax
lea eax, [esi + 0x4d]
mov dword [ebp - 0x94], eax
mov eax, dword [ebx + 0x90]
mov dword [ebp - 0x8c], eax
lea eax, [esi + 0x4e]
mov dword [ebp - 0x88], eax
mov eax, dword [ebx + 0x98]
mov dword [ebp - 0x80], eax
lea eax, [esi + 0x4f]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebx + 0x9c]
mov dword [ebp - 0x74], eax
lea eax, [esi + 0x50]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x6c]
mov dword [ebp - 0x68], eax
lea eax, [esi + 0x3b]
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x5c], eax
lea eax, [esi + 2]
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0xbc]
mov dword [ebp - 0x50], eax
lea eax, [esi + 0x54]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 0xc4]
mov dword [ebp - 0xfc], 8
mov dword [ebp - 0xf0], 8
mov dword [ebp - 0xe4], 8
mov dword [ebp - 0xd8], 8
mov dword [ebp - 0xcc], 8
mov dword [ebp - 0xc0], 0x100
mov dword [ebp - 0xb4], 8
mov dword [ebp - 0xa8], 8
mov dword [ebp - 0x9c], 8
mov dword [ebp - 0x90], 8
mov dword [ebp - 0x84], 8
mov dword [ebp - 0x78], 8
mov dword [ebp - 0x6c], 8
mov dword [ebp - 0x60], 8
mov dword [ebp - 0x54], 0x10
mov dword [ebp - 0x48], 8
mov dword [ebp - 0x44], eax
lea edi, [ebp - 0x100]
lea eax, [esi + 0x55]
mov dword [ebp - 0x3c], 8
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0xb4]
mov dword [ebp - 0x38], eax
lea eax, [esi + 0x3c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0xb0]
mov dword [ebp - 0x2c], eax
lea eax, [esi + 0x68]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x84]
mov dword [ebp - 0x20], eax
lea eax, [esi + 0x4b]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x88]
mov ebx, 0x15
mov dword [ebp - 0x14], eax
lea eax, [esi + 0x4c]
mov dword [ebp - 0x30], 0x40
mov dword [ebp - 0x24], 0x80
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 8
nop
push 0
push 0
push 0xf0
push dword [edi - 4]
call dword [0x4614bc]
mov edx, dword [edi]
lea ecx, [eax - 1]
neg ecx
sbb ecx, ecx
add ecx, 1
je 0x420027
cmp byte [edx], 0
je 0x42002c
jmp 0x420035
cmp byte [edx], 0
je 0x420035
mov ax, word [edi + 4]
or word [esi], ax
mov byte [edx], cl
add edi, 0xc
sub ebx, 1
jne 0x420000
mov eax, dword [esi + 0x34]
mov edi, dword [0x4614bc]
and eax, 0xff00
push ebx
push ebx
mov ebx, dword [ebp - 0x10c]
push 0xf0
mov dword [ebp - 0x108], eax
push dword [ebx + 0xa0]
call edi
push 0
mov ecx, 1
push 0
cmp eax, ecx
mov eax, dword [ebp - 0x108]
push 0xf0
push dword [ebx + 0xa4]
cmove eax, ecx
mov dword [ebp - 0x108], eax
call edi
cmp eax, 1
mov ecx, 0xff01
mov eax, dword [ebp - 0x108]
cmove eax, ecx
cmp eax, dword [esi + 0x34]
je 0x4200aa
or word [esi], 8
mov dword [esi + 0x34], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004380af
mov esp, ebp
pop ebp
ret 4