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

Disassembly:
sub esp, 0x44
push ebx
mov ebx, ecx
push ebp
mov ebp, dword [esp + 0x50]
push esi
mov edx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x7c]
and edx, 0x20
mov ecx, dword [ebx + 4]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x2c], eax
push edi
test eax, eax
jne 0x41bd69
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov edx, dword [esp + 0x44]
movzx eax, al
neg eax
sbb eax, eax
add eax, 2
mov dword [esp + 0x30], eax
mov dword [ebx + 0x7c], eax
cmp eax, 1
jne 0x41bdfd
cmp byte [esp + 0x64], 0
jne 0x41bd83
cmp byte [ebx + 0x78], 0
jne 0x41bd83
xor dh, dh
jmp 0x41bd85
mov dh, 1
mov eax, dword [ebx + 0x4c]
mov dl, 1
mov edi, dword [ebx + 0x48]
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov esi, ebp
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x13], dl
xor dl, dl
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
mov byte [esp + 0x58], dh
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x12], dl
cmp byte [ebx + 0x78], dl
je 0x41be66
mov esi, dword [ebx + 0x70]
mov dword [esp + 0x34], esi
mov esi, dword [ebx + 0x74]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x13]
mov dword [esp + 0x20], esi
mov esi, ebp
mov byte [esp + 0x58], dh
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x13], al
mov byte [esp + 0x12], dl
jmp 0x41be7c
cmp byte [esp + 0x64], 0
je 0x41be2e
test edx, edx
jne 0x41be2e
mov ecx, dword [ebx + 0x48]
xorps xmm0, xmm0
mov eax, dword [ebx + 0x4c]
movlpd qword [esp + 0x48], xmm0
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x58], 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x41be52
mov eax, dword [ebx + 0x4c]
xorps xmm0, xmm0
mov ecx, dword [ebx + 0x48]
movlpd qword [esp + 0x48], xmm0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x58], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
mov esi, ebp
mov dword [esp + 0x14], eax
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 1
movlpd qword [esp + 0x48], xmm0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x5c], edi
mov al, byte [esp + 0x58]
mov ecx, dword [ebx + 0x40]
test al, al
je 0x41beb3
test ecx, ecx
je 0x41bec7
push dword [esp + 0x38]
push dword [esp + 0x38]
push edx
push edi
push ebp
call fcn.00449700
mov ecx, edx
mov edx, dword [esp + 0x18]
jmp 0x41bed8
test ecx, ecx
je 0x41bec7
push edx
push edi
push ebp
call fcn.00449800
mov ecx, edx
mov edx, dword [esp + 0x18]
jmp 0x41bed8
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jl 0x41bf0d
jg 0x41bee2
test eax, eax
je 0x41bf0d
add dword [esp + 0x34], eax
adc dword [esp + 0x38], ecx
cmp dword [esp + 0x30], 1
je 0x41bef7
add dword [ebx + 0x48], eax
adc dword [ebx + 0x4c], ecx
add dword [esp + 0x14], eax
adc dword [esp + 0x1c], ecx
add ebp, eax
sub edi, eax
mov dword [esp + 0x5c], edi
sbb edx, ecx
mov dword [esp + 0x18], edx
test edx, edx
jl 0x41bffe
jg 0x41bf1f
test edi, edi
je 0x41bffe
cmp byte [esp + 0x12], 0
jne 0x41bffe
cmp dword [esp + 0x30], 1
je 0x41bf5a
mov edx, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x4c]
cmp edx, dword [ebx + 0x50]
jne 0x41bf41
cmp ecx, dword [ebx + 0x54]
je 0x41bf5a
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
call eax
test al, al
je 0x41c141
cmp dword [esp + 0x44], 0
lea eax, [ebx + 0x68]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x13], 0
jne 0x41bf8a
mov dword [esp + 0x2c], eax
mov eax, dword [eax]
cdq
cmp ecx, edx
jl 0x41c06f
jg 0x41bf86
cmp edi, eax
jb 0x41c074
mov eax, dword [esp + 0x2c]
cmp byte [esp + 0x58], 0
mov edx, eax
jne 0x41c04b
mov edx, dword [esp + 0x28]
push ecx
push edi
push ebp
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0x60]
call eax
mov ecx, dword [esp + 0x5c]
mov edi, edx
mov edx, dword [esp + 0x18]
cmp eax, ecx
jne 0x41bfbe
mov byte [esp + 0x12], 0
cmp edi, edx
je 0x41bfc3
mov byte [esp + 0x12], 1
test edi, edi
jl 0x41c141
jg 0x41bfd5
test eax, eax
je 0x41c137
add dword [esp + 0x14], eax
adc dword [esp + 0x1c], edi
add ebp, eax
sub ecx, eax
mov dword [esp + 0x5c], ecx
sbb edx, edi
cmp dword [esp + 0x30], 1
mov dword [esp + 0x18], edx
je 0x41bffe
add dword [ebx + 0x48], eax
adc dword [ebx + 0x4c], edi
add dword [ebx + 0x50], eax
adc dword [ebx + 0x54], edi
mov edi, dword [esp + 0x14]
test byte [ebx + 0x30], 0x10
je 0x41c19e
cmp esi, ebp
jae 0x41c19e
cmp byte [esi], 0xd
mov edi, ebp
je 0x41c02a
nop dword [eax + eax]
inc esi
cmp esi, ebp
je 0x41c02a
cmp byte [esi], 0xd
jne 0x41c020
mov ecx, esi
cmp esi, ebp
jae 0x41c184
mov ebx, dword [esp + 0x5c]
mov al, byte [esi]
inc esi
cmp al, 0xd
je 0x41c15f
mov byte [ecx], al
inc ecx
jmp 0x41c170
cmp dword [esp + 0x44], 0
mov eax, edx
je 0x41c078
mov eax, dword [edx]
mov dword [esp + 0x2c], edx
cdq
cmp edx, ecx
jl 0x41c074
jg 0x41c065
cmp eax, edi
jb 0x41c074
mov dword [esp + 0x2c], edi
mov dword [esp + 0x3c], ecx
jmp 0x41c085
lea eax, [ebx + 0x68]
jmp 0x41c078
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
cdq
mov dword [esp + 0x2c], eax
mov ecx, edx
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x28]
push ecx
push dword [esp + 0x30]
mov ecx, dword [ebx + 0x40]
mov eax, dword [eax]
mov edi, dword [eax + 0x60]
call fcn.00449c20
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
push dword [esp + 0x30]
push eax
call edi
mov ecx, dword [esp + 0x3c]
mov edi, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x48], eax
cmp eax, edx
jne 0x41c0c5
mov byte [esp + 0x12], 0
cmp edi, ecx
je 0x41c0ca
mov byte [esp + 0x12], 1
test edi, edi
jl 0x41c118
jg 0x41c0d4
test eax, eax
je 0x41c118
sub edx, eax
sbb ecx, edi
push ecx
mov ecx, dword [ebx + 0x40]
push edx
call fcn.00448ec0
cmp dword [esp + 0x30], 1
je 0x41c0f3
mov eax, dword [esp + 0x48]
add dword [ebx + 0x50], eax
adc dword [ebx + 0x54], edi
mov ecx, dword [esp + 0x24]
mov al, byte [esp + 0x58]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x58], al
mov dword [esp + 0x20], ecx
jmp 0x41be90
xorps xmm0, xmm0
movlpd qword [esp + 0x3c], xmm0
sub edx, dword [esp + 0x3c]
sbb ecx, dword [esp + 0x40]
push ecx
mov ecx, dword [ebx + 0x40]
push edx
call fcn.00448ec0
mov eax, dword [esp + 0x48]
test edi, edi
jg 0x41c156
jl 0x41c141
test eax, eax
jae 0x41c156
mov edi, dword [esp + 0x14]
mov eax, edi
or eax, dword [esp + 0x1c]
je 0x41c18f
mov edx, dword [esp + 0x18]
jmp 0x41c002
mov edx, dword [esp + 0x18]
jmp 0x41bffe
add dword [esp + 0x14], 0xffffffff
adc dword [esp + 0x1c], 0xffffffff
dec ebp
add ebx, 1
adc edx, 0
cmp esi, edi
jb 0x41c038
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x18], edx
mov edi, dword [esp + 0x5c]
mov esi, ebp
jmp 0x41be8c
pop edi
pop esi
or eax, 0xffffffff
pop ebp
or edx, eax
pop ebx
add esp, 0x44
ret 0x10
cmp byte [esp + 0x58], 0
je 0x41c1cc
cmp byte [esp + 0x64], 0
je 0x41c1bc
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], esi
jmp 0x41c21b
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x70], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x74], eax
jmp 0x41c21b
cmp byte [esp + 0x64], 0
je 0x41c21b
mov ecx, dword [esp + 0x24]
mov eax, ecx
sub eax, dword [ebx + 0x48]
mov esi, dword [esp + 0x20]
mov edx, esi
sbb edx, dword [ebx + 0x4c]
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], esi
js 0x41c20f
jg 0x41c1f3
test eax, eax
jb 0x41c20f
mov ecx, dword [ebx + 0x40]
test ecx, ecx
je 0x41c20f
cmp edx, dword [ecx + 0xc]
jg 0x41c20f
jl 0x41c206
cmp eax, dword [ecx + 8]
jae 0x41c20f
push edx
push eax
call fcn.004494b0
jmp 0x41c21b
mov ecx, dword [ebx + 0x40]
test ecx, ecx
je 0x41c21b
call fcn.00449070
cmp byte [esp + 0x13], 0
je 0x41c23d
mov ecx, ebx
call fcn.0041b660
test al, al
je 0x41c23d
mov eax, dword [esp + 0x28]
mov ecx, eax
push 0
push 0
push ebp
mov esi, dword [eax]
call dword [esi + 0x60]
mov edx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0x10