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

Disassembly:
sub esp, 0x78
mov eax, dword [esp + 0x84]
push ebx
mov ecx, 1
add dword [0x4620dc], ecx
push ebp
push esi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x88]
push edi
xor edi, edi
cmp dword [ecx + 0x18], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
lea ecx, [esp + 0x28]
jne 0x41bb79
add eax, 0x18
push eax
call fcn.004194b0
mov esi, eax
add esp, 4
cmp esi, edi
jne 0x41c20a
mov edx, dword [esp + 0x8c]
push edx
lea eax, [esp + 0x2c]
call fcn.0041afd0
mov esi, eax
add esp, 4
cmp esi, edi
jne 0x41c20a
mov ebx, dword [esp + 0x94]
mov esi, dword [ebx]
add dword [0x4620a4], 1
mov eax, esi
imul eax, dword [esp + 0x28]
test eax, eax
jge 0x41b9ac
lea eax, [esp + 0x28]
mov ecx, ebx
call fcn.00418c80
test eax, eax
lea edi, [esp + 0x34]
jl 0x41b992
lea eax, [esp + 0x28]
call fcn.00418f60
test eax, eax
jne 0x41b90a
mov dword [esp + 0x34], esi
xor edi, edi
cmp eax, edi
mov esi, eax
jne 0x41c20a
mov ebp, dword [esp + 0x8c]
add ebp, 4
mov eax, ebp
lea ecx, [esp + 0x34]
call fcn.00418d10
test eax, eax
jl 0x41b956
nop
lea ebx, [esp + 0x34]
mov eax, ebp
mov edi, ebx
call fcn.00418f60
mov esi, eax
test esi, esi
jne 0x41c208
mov eax, ebp
mov ecx, ebx
call fcn.00418d10
test eax, eax
jge 0x41b930
xor edi, edi
mov ebx, dword [esp + 0x94]
mov esi, dword [ebx]
mov ecx, esi
imul ecx, dword [esp + 0x28]
test ecx, ecx
jle 0x41b9e5
lea eax, [esp + 0x28]
mov ecx, ebx
call fcn.00418c80
test eax, eax
lea edi, [esp + 0x40]
jl 0x41b9cc
lea eax, [esp + 0x28]
call fcn.00418f60
test eax, eax
jne 0x41ba00
mov edi, esi
mov dword [esp + 0x40], edi
jmp 0x41ba04
mov eax, ebx
lea ebx, [esp + 0x28]
call fcn.00418f60
test eax, eax
jne 0x41b90a
neg esi
jmp 0x41b906
lea ecx, [esp + 0x28]
mov eax, ebx
lea edx, [esp + 0x34]
call fcn.00418e00
cmp eax, edi
jne 0x41b90c
mov dword [esp + 0x34], esi
jmp 0x41b90c
mov eax, ebx
lea ebx, [esp + 0x28]
call fcn.00418f60
test eax, eax
jne 0x41ba00
neg esi
mov edi, esi
mov dword [esp + 0x40], edi
jmp 0x41ba04
lea ecx, [esp + 0x28]
mov eax, ebx
lea edx, [esp + 0x40]
call fcn.00418e00
cmp eax, edi
jne 0x41ba00
mov edi, esi
mov dword [esp + 0x40], edi
jmp 0x41ba04
mov edi, dword [esp + 0x40]
test eax, eax
mov esi, eax
jne 0x41c208
test edi, edi
jge 0x41babc
mov dword [esp + 0x14], eax
mov eax, 1
lea edx, [esp + 0x14]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
lea eax, [esp + 0x58]
lea ecx, [esp + 0x40]
call fcn.00418d10
test eax, eax
je 0x41babc
mov eax, dword [ebp]
imul eax, edi
test eax, eax
mov esi, edi
jge 0x41ba8d
mov eax, ebp
lea ecx, [esp + 0x40]
call fcn.00418c80
test eax, eax
lea edi, [esp + 0x40]
jl 0x41ba74
mov eax, ebp
mov ebx, edi
call fcn.00418f60
test eax, eax
jne 0x41baa6
mov edi, esi
mov dword [esp + 0x40], edi
jmp 0x41baaa
lea eax, [esp + 0x40]
mov ebx, ebp
call fcn.00418f60
test eax, eax
jne 0x41baa6
neg esi
mov edi, esi
mov dword [esp + 0x40], edi
jmp 0x41baaa
lea eax, [esp + 0x40]
mov ecx, ebp
mov edx, eax
call fcn.00418e00
test eax, eax
jne 0x41baa6
mov edi, esi
mov dword [esp + 0x40], edi
jmp 0x41baaa
mov edi, dword [esp + 0x40]
test eax, eax
mov esi, eax
jne 0x41c208
test edi, edi
jl 0x41ba2f
lea ecx, [esp + 0x40]
push ecx
lea eax, [esp + 0x38]
lea ecx, [esp + 0x2c]
call fcn.004194b0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c208
mov edx, dword [esp + 0x8c]
push edx
lea eax, [esp + 0x2c]
call fcn.0041afd0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c208
mov eax, 1
add dword [0x4620a4], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x64]
mov dword [esp + 0x6c], eax
push ecx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x50]
mov dword [esp + 0x1c], 3
call fcn.004194b0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c1d3
mov eax, ebp
lea ecx, [esp + 0x4c]
call fcn.00418d10
test eax, eax
jl 0x41bd7b
mov edi, edi
lea ebx, [esp + 0x4c]
mov eax, ebp
mov edi, ebx
call fcn.00418f60
mov esi, eax
test esi, esi
jne 0x41c1d3
mov eax, ebp
mov ecx, ebx
call fcn.00418d10
test eax, eax
jge 0x41bb50
jmp 0x41bd7b
push eax
call fcn.004194b0
mov esi, eax
add esp, 4
cmp esi, edi
jne 0x41c20a
mov edx, dword [esp + 0x8c]
push edx
lea eax, [esp + 0x2c]
call fcn.0041afd0
mov esi, eax
add esp, 4
cmp esi, edi
jne 0x41c20a
mov eax, 1
add dword [0x4620a4], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x70]
mov dword [esp + 0x78], eax
push ecx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x50]
mov dword [esp + 0x20], 3
call fcn.004194b0
mov esi, eax
add esp, 4
cmp esi, edi
jne 0x41c1d5
mov ebp, dword [esp + 0x8c]
add ebp, 4
mov eax, ebp
lea ecx, [esp + 0x4c]
call fcn.00418d10
test eax, eax
jl 0x41bc2b
lea ebx, [esp + 0x4c]
mov eax, ebp
mov edi, ebx
call fcn.00418f60
mov esi, eax
test esi, esi
jne 0x41c1d3
mov eax, ebp
mov ecx, ebx
call fcn.00418d10
test eax, eax
jge 0x41bc05
xor edi, edi
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x8c]
mov eax, 1
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
lea edx, [esp + 0x20]
add edi, 0x10
lea eax, [esp + 0x7c]
mov ecx, edi
mov dword [esp + 0x84], edx
call fcn.00418d10
test eax, eax
je 0x41bd7b
mov eax, dword [esp + 0x94]
add eax, 0x18
push eax
lea ecx, [esp + 0x2c]
call fcn.004194b0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c1d3
mov eax, dword [esp + 0x8c]
push eax
lea eax, [esp + 0x2c]
call fcn.0041afd0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c1d3
add dword [0x4620a4], 1
lea ecx, [esp + 0x28]
push ecx
mov eax, ecx
lea ecx, [esp + 0x38]
call fcn.004194b0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c1d3
mov edx, dword [esp + 0x8c]
push edx
lea eax, [esp + 0x38]
call fcn.0041afd0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c1d3
add dword [0x4620a4], 1
push edi
lea eax, [esp + 0x38]
lea ecx, [esp + 0x2c]
call fcn.004194b0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c1d3
mov eax, dword [esp + 0x8c]
push eax
lea eax, [esp + 0x2c]
call fcn.0041afd0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c1d3
add dword [0x4620a4], 1
lea eax, [esp + 0x4c]
lea esi, [esp + 0x28]
mov ecx, eax
call fcn.00419030
mov esi, eax
test esi, esi
jne 0x41c1d3
mov eax, ebp
lea ecx, [esp + 0x4c]
call fcn.00418d10
test eax, eax
jl 0x41bd7b
lea ebx, [esp + 0x4c]
mov eax, ebp
mov edi, ebx
call fcn.00418f60
mov esi, eax
test esi, esi
jne 0x41c1d3
mov eax, ebp
mov ecx, ebx
call fcn.00418d10
test eax, eax
jge 0x41bd57
mov eax, dword [esp + 0x94]
add eax, 0xc
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], eax
call fcn.004194b0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c1d3
mov ecx, dword [esp + 0x8c]
push ecx
lea eax, [esp + 0x38]
call fcn.0041afd0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c1d3
add dword [0x4620a4], 1
push 1
lea eax, [esp + 0x38]
call fcn.00418ab0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c1d3
mov eax, ebp
lea ecx, [esp + 0x34]
call fcn.00418d10
test eax, eax
jl 0x41be14
lea esp, [esp]
lea ebx, [esp + 0x34]
mov eax, ebp
mov edi, ebx
call fcn.00418f60
mov esi, eax
test esi, esi
jne 0x41c1d3
mov eax, ebp
mov ecx, ebx
call fcn.00418d10
test eax, eax
jge 0x41bdf0
mov eax, dword [esp + 0x94]
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x2c]
call fcn.004194b0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c1d3
mov eax, dword [esp + 0x8c]
push eax
lea eax, [esp + 0x2c]
call fcn.0041afd0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c1d3
add dword [0x4620a4], 1
push 1
lea eax, [esp + 0x2c]
call fcn.00418ab0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c1d3
mov eax, ebp
lea ecx, [esp + 0x28]
call fcn.00418d10
test eax, eax
jl 0x41bea6
lea ebx, [esp + 0x28]
mov eax, ebp
mov edi, ebx
call fcn.00418f60
mov esi, eax
test esi, esi
jne 0x41c1d3
mov eax, ebp
mov ecx, ebx
call fcn.00418d10
test eax, eax
jge 0x41be82
lea ecx, [esp + 0x34]
push ecx
mov eax, ecx
lea ecx, [esp + 0x44]
call fcn.004194b0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c1d3
mov edx, dword [esp + 0x8c]
push edx
lea eax, [esp + 0x44]
call fcn.0041afd0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c1d3
add dword [0x4620a4], 1
push 1
lea eax, [esp + 0x44]
call fcn.00418ab0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c1d3
mov eax, ebp
lea ecx, [esp + 0x40]
call fcn.00418d10
test eax, eax
jl 0x41bf34
nop
lea ebx, [esp + 0x40]
mov eax, ebp
mov edi, ebx
call fcn.00418f60
mov esi, eax
test esi, esi
jne 0x41c1d3
mov eax, ebp
mov ecx, ebx
call fcn.00418d10
test eax, eax
jge 0x41bf10
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x38]
call fcn.004194b0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c1d3
mov ecx, dword [esp + 0x8c]
push ecx
lea eax, [esp + 0x38]
call fcn.0041afd0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c1d3
add dword [0x4620a4], 1
lea eax, [esp + 0x34]
lea esi, [esp + 0x28]
mov ecx, eax
call fcn.00419090
mov esi, eax
test esi, esi
jne 0x41c1d3
cmp dword [esp + 0x34], eax
jge 0x41bfc3
lea edx, [esp + 0x34]
push edx
xor eax, eax
call fcn.00418dd0
add esp, 4
test eax, eax
je 0x41bfc3
lea eax, [esp + 0x34]
mov esi, ebp
mov ecx, eax
call fcn.00419030
mov esi, eax
test esi, esi
jne 0x41c1d3
cmp dword [esp + 0x34], eax
jl 0x41bf93
lea eax, [esp + 0x34]
lea esi, [esp + 0x28]
mov ecx, eax
call fcn.00419090
mov esi, eax
test esi, esi
jne 0x41c1d3
cmp dword [esp + 0x34], eax
jge 0x41c012
lea eax, [esp + 0x34]
push eax
xor eax, eax
call fcn.00418dd0
add esp, 4
test eax, eax
je 0x41c012
lea eax, [esp + 0x34]
mov esi, ebp
mov ecx, eax
call fcn.00419030
mov esi, eax
test esi, esi
jne 0x41c1d3
cmp dword [esp + 0x34], eax
jl 0x41bfe2
lea eax, [esp + 0x28]
lea esi, [esp + 0x34]
mov ecx, eax
call fcn.00419090
mov esi, eax
test esi, esi
jne 0x41c1d3
cmp dword [esp + 0x28], eax
jge 0x41c061
lea ecx, [esp + 0x28]
push ecx
xor eax, eax
call fcn.00418dd0
add esp, 4
test eax, eax
je 0x41c061
lea eax, [esp + 0x28]
mov esi, ebp
mov ecx, eax
call fcn.00419030
mov esi, eax
test esi, esi
jne 0x41c1d3
cmp dword [esp + 0x28], eax
jl 0x41c031
lea edx, [esp + 0x4c]
lea eax, [esp + 0x28]
push edx
mov ecx, eax
call fcn.004194b0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c1d3
mov eax, dword [esp + 0x8c]
push eax
lea eax, [esp + 0x2c]
call fcn.0041afd0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c1d3
add dword [0x4620a4], 1
lea eax, [esp + 0x28]
lea esi, [esp + 0x40]
mov ecx, eax
call fcn.00419090
mov esi, eax
test esi, esi
jne 0x41c1d3
cmp dword [esp + 0x28], eax
jge 0x41c0f2
lea ecx, [esp + 0x28]
push ecx
xor eax, eax
call fcn.00418dd0
add esp, 4
test eax, eax
je 0x41c0f2
lea eax, [esp + 0x28]
mov esi, ebp
mov ecx, eax
call fcn.00419030
mov esi, eax
test esi, esi
jne 0x41c1d3
cmp dword [esp + 0x28], eax
jl 0x41c0c2
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x24]
add edx, 0x18
push edx
lea ecx, [esp + 0x44]
call fcn.004194b0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c1d3
mov eax, dword [esp + 0x8c]
push eax
lea eax, [esp + 0x44]
call fcn.0041afd0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c1d3
add dword [0x4620a4], 1
push 1
lea eax, [esp + 0x44]
call fcn.00418ab0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c1d3
mov eax, ebp
lea ecx, [esp + 0x40]
call fcn.00418d10
test eax, eax
jl 0x41c183
lea ebx, [esp + 0x40]
mov eax, ebp
mov edi, ebx
call fcn.00418f60
mov esi, eax
test esi, esi
jne 0x41c1d3
mov eax, ebp
mov ecx, ebx
call fcn.00418d10
test eax, eax
jge 0x41c163
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x34]
push ecx
call fcn.004183a0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c1d3
mov eax, dword [esp + 0x90]
lea edx, [esp + 0x28]
push edx
add eax, 0xc
call fcn.004183a0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41c1d3
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x94]
add eax, 0x18
call fcn.004183a0
add esp, 4
mov esi, eax
xor edi, edi
mov edx, dword [esp + 0x54]
cmp edx, edi
je 0x41c20a
mov eax, dword [esp + 0x50]
add eax, eax
add eax, eax
cmp eax, edi
mov ecx, edx
je 0x41c1fd
jmp 0x41c1f0
sub eax, 1
mov byte [ecx], 0
add ecx, 1
cmp eax, edi
jne 0x41c1f0
push edx
call fcn.0043261c
add esp, 4
jmp 0x41c20a
xor edi, edi
mov ecx, dword [esp + 0x30]
cmp ecx, edi
mov ebx, 1
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
je 0x41c248
mov eax, dword [esp + 0x2c]
add eax, eax
add eax, eax
cmp eax, edi
je 0x41c23f
nop
sub eax, ebx
mov byte [ecx], 0
add ecx, ebx
cmp eax, edi
jne 0x41c230
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0043261c
add esp, 4
mov ecx, dword [esp + 0x3c]
cmp ecx, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
je 0x41c280
mov eax, dword [esp + 0x38]
add eax, eax
add eax, eax
cmp eax, edi
je 0x41c277
sub eax, ebx
mov byte [ecx], 0
add ecx, ebx
cmp eax, edi
jne 0x41c268
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0043261c
add esp, 4
mov ecx, dword [esp + 0x48]
cmp ecx, edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
je 0x41c2b8
mov eax, dword [esp + 0x44]
add eax, eax
add eax, eax
cmp eax, edi
je 0x41c2af
sub eax, ebx
mov byte [ecx], 0
add ecx, ebx
cmp eax, edi
jne 0x41c2a0
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0043261c
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret