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

Disassembly:
sub esp, 0x4c
mov edx, dword [0x44a898]
mov ecx, dword [esp + 0x58]
xor eax, eax
push ebx
test edx, edx
setne al
push ebp
inc eax
mov edx, dword [esp + 0x64]
push esi
mov esi, eax
mov eax, ecx
neg eax
shl eax, 4
mov dword [esp + 0x14], eax
mov eax, edx
neg eax
shl eax, 4
mov dword [esp + 0x18], eax
mov eax, dword [0x449d54]
shl ecx, 3
sub eax, ecx
lea ecx, [edx*8]
mov edx, dword [0x449d50]
push edi
sub edx, ecx
lea eax, [eax + eax - 0x1f]
cmp esi, 2
mov dword [esp + 0x24], esi
lea edx, [edx + edx - 0x1f]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jne 0x41ac11
inc eax
inc edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x78]
cmp ecx, eax
jge 0x41ac1d
mov dword [esp + 0x14], ecx
cmp ecx, edx
jge 0x41ac25
mov dword [esp + 0x10], ecx
xor eax, eax
xor edx, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x30], eax
mov ebx, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
neg ebx
mov edi, 0x7fffffff
mov dword [esp + 0x44], edx
cmp ebx, eax
mov dword [esp + 0x58], edi
mov ebp, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x28], ebx
jge 0x41acd4
lea edx, [esi + esi]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x10]
cmp ebx, dword [esp + 0x18]
jl 0x41acca
mov esi, ecx
neg esi
cmp esi, edx
jge 0x41acca
cmp esi, dword [esp + 0x1c]
jl 0x41acb4
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
push edi
push esi
push ebx
push eax
mov eax, dword [esp + 0x70]
push ecx
push edx
push eax
call fcn.00404f10
add esp, 0x1c
cmp eax, edi
jge 0x41acb4
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], esi
mov edi, eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
add esi, ecx
cmp esi, edx
jl 0x41ac81
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x78]
add ebx, dword [esp + 0x20]
cmp ebx, eax
jl 0x41ac73
jmp 0x41acd8
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
mov esi, ebx
sub esi, ecx
mov edi, esi
mov dword [esp + 0x20], esi
cmp edi, eax
jge 0x41ad49
add ebx, ebx
cmp edi, dword [esp + 0x18]
jl 0x41ad3f
mov esi, ecx
neg esi
cmp esi, edx
jge 0x41ad3f
cmp esi, dword [esp + 0x1c]
jl 0x41ad2d
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
push ebp
push esi
push edi
push ecx
mov ecx, dword [esp + 0x70]
push edx
push eax
push ecx
call fcn.004054a0
add esp, 0x1c
cmp eax, ebp
jge 0x41ad2d
mov dword [esp + 0x40], edi
mov dword [esp + 0x30], esi
mov ebp, eax
mov edx, dword [esp + 0x10]
add esi, ebx
cmp esi, edx
jl 0x41acfa
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x78]
add edi, ebx
cmp edi, eax
jl 0x41acec
mov esi, dword [esp + 0x20]
mov edi, esi
cmp edi, eax
jge 0x41adb5
mov ecx, dword [esp + 0x24]
lea ebp, [ecx + ecx]
cmp edi, dword [esp + 0x18]
jl 0x41adab
cmp esi, edx
jge 0x41adab
cmp esi, dword [esp + 0x1c]
jl 0x41ad9d
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x68]
push esi
push edi
push eax
mov eax, dword [esp + 0x70]
push ecx
push edx
push eax
call fcn.00405a40
mov ecx, dword [esp + 0x70]
add esp, 0x1c
cmp eax, ecx
jge 0x41ad9d
mov dword [esp + 0x44], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0x10]
add esi, ebp
cmp esi, edx
jl 0x41ad60
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
add edi, ebp
cmp edi, eax
jl 0x41ad56
mov edi, dword [esp + 0x28]
cmp edi, eax
jge 0x41ae25
mov ecx, dword [esp + 0x24]
lea ebp, [ecx + ecx]
jmp 0x41adca
mov esi, dword [esp + 0x20]
cmp edi, dword [esp + 0x18]
jl 0x41ae1f
cmp esi, edx
jge 0x41ae1f
cmp esi, dword [esp + 0x1c]
jl 0x41ae11
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x68]
push esi
push edi
push eax
mov eax, dword [esp + 0x70]
push ecx
push edx
push eax
call fcn.00405fd0
mov ecx, dword [esp + 0x74]
add esp, 0x1c
cmp eax, ecx
jge 0x41ae11
mov dword [esp + 0x48], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x10]
add esi, ebp
cmp esi, edx
jl 0x41add4
mov eax, dword [esp + 0x14]
add edi, ebp
cmp edi, eax
jl 0x41adc6
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x18]
mov ecx, dword [ecx]
cmp ecx, esi
jl 0x41ae70
cmp ecx, eax
jge 0x41ae70
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x1c]
mov eax, dword [eax]
cmp eax, esi
jl 0x41ae70
cmp eax, edx
jge 0x41ae70
mov edx, dword [esp + 0x68]
push 0x7fffffff
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x70]
push edx
push eax
push ecx
call fcn.0041d4f0
add esp, 0x1c
mov edi, eax
jmp 0x41ae75
mov edi, 0x7fffffff
xor esi, esi
mov ebx, dword [esp + esi + 0x2c]
mov ebp, dword [esp + esi + 0x3c]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
push edi
push ebx
push ebp
push edx
mov edx, dword [esp + 0x70]
push eax
push ecx
push edx
call fcn.0041d4f0
add esp, 0x1c
cmp eax, edi
mov dword [esp + esi + 0x4c], eax
jge 0x41aeb4
mov ecx, dword [esp + 0x74]
mov edi, eax
mov eax, dword [esp + 0x70]
mov dword [eax], ebp
mov dword [ecx], ebx
add esi, 4
cmp esi, 0x10
jl 0x41ae77
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret