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

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, edx
push edi
mov dword [esp + 0x10], ebp
mov ecx, dword [esi + 0x1af28]
mov al, byte [esi + 0x1af2c]
mov byte [ecx + esi + 0x19f20], al
mov ecx, 0xffff
mov eax, dword [esi + 0x1af48]
cmp word [eax], cx
jne 0x41b213
movzx eax, word [esi + 0x1c]
lea ecx, [esi + 0x28]
movzx edx, word [esi + 0x20]
xor edi, edi
add edx, eax
movzx eax, word [esi + 0x18]
add edx, eax
movzx eax, word [esi + 0x14]
add edx, eax
movzx eax, word [esi + 0x10]
add edx, eax
lea ebp, [edi + 0x3c]
movzx eax, word [esi + 0xc]
add edx, eax
movzx eax, word [esi + 8]
add edx, eax
xor ebx, ebx
nop dword [eax + eax]
movzx eax, word [ecx - 4]
lea ecx, [ecx + 8]
add edi, eax
movzx eax, word [ecx - 8]
add ebx, eax
sub ebp, 1
jne 0x41b1b0
movzx ecx, word [esi + 0x204]
lea eax, [ebx + edi]
xor edi, edi
add ecx, eax
mov dword [esp + 0x14], ecx
xor ebx, ebx
lea ecx, [esi + 0x20c]
lea ebp, [edi + 0x40]
movzx eax, word [ecx - 4]
lea ecx, [ecx + 8]
add edi, eax
movzx eax, word [ecx - 8]
add ebx, eax
sub ebp, 1
jne 0x41b1e1
mov ecx, dword [esi + 0x1af48]
lea eax, [ebx + edi]
mov ebp, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x14]
shr eax, 2
cmp eax, edx
sbb eax, eax
inc eax
mov word [ecx], ax
lea edx, [esi + 0xf84]
mov ecx, esi
call fcn.0041ac60
mov eax, dword [esi]
test dword [eax], 0x40000000
jne 0x41b60a
lea edx, [esi + 0xfa0]
mov ecx, esi
call fcn.0041ac60
mov eax, dword [esi]
test dword [eax], 0x40000000
jne 0x41b60a
push dword [esi + 0xf9c]
lea edx, [esi + 8]
mov ecx, esi
call fcn.0041ae90
push dword [esi + 0xfb8]
lea edx, [esi + 0x8fc]
call fcn.0041ae90
add esp, 8
lea edx, [esi + 0xfbc]
call fcn.0041ac60
mov ecx, dword [esi]
mov eax, dword [ecx]
test eax, 0x40000000
jne 0x41b300
mov edi, 0x12
nop dword [eax + eax]
movzx eax, byte [edi + 0x4cf650]
cmp word [esi + eax*4 + 0xeea], 0
jne 0x41b2ed
movzx eax, byte [edi + 0x4cf64f]
cmp word [esi + eax*4 + 0xeea], 0
jne 0x41b2ec
movzx eax, byte [edi + 0x4cf64e]
cmp word [esi + eax*4 + 0xeea], 0
jne 0x41b2e7
movzx eax, byte [edi + 0x4cf64d]
cmp word [esi + eax*4 + 0xeea], 0
jne 0x41b2e2
sub edi, 4
cmp edi, 3
jge 0x41b290
jmp 0x41b2ed
sub edi, 3
jmp 0x41b2ed
sub edi, 2
jmp 0x41b2ed
dec edi
lea eax, [edi*2 + 0x11]
add eax, edi
add dword [esi + 0x1af30], eax
mov eax, dword [ecx]
jmp 0x41b304
mov edi, dword [esp + 0x18]
test eax, 0x40000000
jne 0x41b60a
mov eax, dword [esi + 0x1af30]
mov ecx, dword [esi + 0x1af34]
add eax, 0xa
mov ebx, dword [esp + 0x20]
add ecx, 0xa
shr eax, 3
shr ecx, 3
cmp ecx, eax
mov edx, ecx
cmova edx, eax
lea eax, [ebx + 4]
cmp eax, edx
ja 0x41b465
test ebp, ebp
je 0x41b465
mov ebp, dword [esp + 0x24]
mov ecx, esi
push 3
mov edx, ebp
call fcn.0041b8f0
mov ecx, dword [esi + 0x1af40]
add esp, 4
mov eax, dword [esi + 0x1af44]
add ecx, 0xa
mov dword [esi + 0x1af40], 0
adc eax, 0
mov dword [esi + 0x1af44], 0
shrd ecx, eax, 3
shr eax, 3
add ecx, ebx
adc eax, 0
add ecx, 4
adc eax, 0
add dword [esi + 0x1af38], ecx
mov ecx, esi
adc dword [esi + 0x1af3c], eax
call fcn.0041b9b0
mov ecx, dword [esi + 0x1af5c]
lea eax, [ecx + 3]
cmp eax, dword [esi + 0x1af60]
jb 0x41b3d0
mov edx, dword [esi + 0x1af58]
push ecx
mov ecx, dword [esi]
call fcn.0041cc60
add esp, 4
mov dword [esi + 0x1af5c], 0
xor ecx, ecx
mov eax, dword [esi + 0x1af58]
mov byte [ecx + eax], bl
inc dword [esi + 0x1af5c]
mov edx, dword [esi + 0x1af5c]
mov eax, dword [esi + 0x1af58]
movzx ebx, bx
mov ecx, ebx
not ebx
shr ecx, 8
mov byte [edx + eax], cl
inc dword [esi + 0x1af5c]
mov edx, dword [esi + 0x1af5c]
mov eax, dword [esi + 0x1af58]
mov cl, byte [esp + 0x20]
not cl
shr ebx, 8
mov byte [edx + eax], cl
inc dword [esi + 0x1af5c]
mov ecx, dword [esi + 0x1af5c]
mov eax, dword [esi + 0x1af58]
mov byte [ecx + eax], bl
inc dword [esi + 0x1af5c]
push dword [esi + 0x1af5c]
mov edx, dword [esi + 0x1af58]
mov ecx, dword [esi]
call fcn.0041cc60
push dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov ecx, dword [esi]
mov dword [esi + 0x1af5c], 0
call fcn.0041cc60
add esp, 8
jmp 0x41b5bd
mov ebp, dword [esp + 0x24]
cmp ecx, edx
push 3
mov ecx, esi
jne 0x41b49b
lea edx, [ebp + 2]
call fcn.0041b8f0
lea eax, [esi + 0xe70]
mov ecx, esi
push eax
lea edx, [esi + 0x9f0]
call fcn.0041b770
mov eax, dword [esi + 0x1af34]
add esp, 8
jmp 0x41b579
lea edx, [ebp + 4]
call fcn.0041b8f0
mov eax, dword [esi + 0xf9c]
lea ebx, [edi + 1]
mov edi, dword [esi + 0xfb8]
mov ecx, esi
push 5
mov dword [esp + 0x1c], edi
lea edx, [eax - 0x100]
mov dword [esp + 0x20], eax
call fcn.0041b8f0
add esp, 8
test eax, eax
je 0x41b55d
push 5
mov edx, edi
mov ecx, esi
call fcn.0041b8f0
add esp, 4
test eax, eax
je 0x41b55d
push 4
lea edx, [ebx - 4]
mov ecx, esi
call fcn.0041b8f0
add esp, 4
test eax, eax
je 0x41b55d
xor edi, edi
test ebx, ebx
jle 0x41b52e
nop
mov eax, dword [esi]
test dword [eax], 0x40000000
jne 0x41b55d
movzx eax, byte [edi + 0x4cf650]
mov ecx, esi
push 3
movzx edx, word [esi + eax*4 + 0xeea]
call fcn.0041b8f0
add esp, 4
test eax, eax
je 0x41b55d
inc edi
cmp edi, ebx
jl 0x41b500
push dword [esp + 0x18]
lea ebx, [esi + 8]
mov ecx, esi
mov edx, ebx
call fcn.0041af80
add esp, 4
lea edi, [esi + 0x8fc]
test eax, eax
je 0x41b566
push dword [esp + 0x14]
mov edx, edi
mov ecx, esi
call fcn.0041af80
add esp, 4
jmp 0x41b566
lea ebx, [esi + 8]
lea edi, [esi + 0x8fc]
push edi
mov edx, ebx
mov ecx, esi
call fcn.0041b770
mov eax, dword [esi + 0x1af30]
add esp, 4
add eax, 3
add dword [esi + 0x1af40], eax
mov edx, dword [esi + 0x1af40]
adc dword [esi + 0x1af44], 0
mov ecx, dword [esi + 0x1af44]
mov eax, edx
mov dword [esi + 0x1af44], 0
shrd eax, ecx, 3
shr ecx, 3
add dword [esi + 0x1af38], eax
adc dword [esi + 0x1af3c], ecx
and edx, 7
mov dword [esi + 0x1af40], edx
mov eax, dword [esi]
cmp dword [eax + 0x20], 0
jne 0x41b60a
mov ecx, esi
call fcn.0041a590
test ebp, ebp
je 0x41b5e3
call fcn.0041b9b0
add dword [esi + 0x1af40], 7
adc dword [esi + 0x1af44], 0
mov ecx, dword [esi + 0x1af44]
mov edx, dword [esi + 0x1af40]
mov eax, dword [esi]
shrd edx, ecx, 3
shr ecx, 3
add edx, dword [esi + 0x1af38]
adc ecx, dword [esi + 0x1af3c]
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret