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

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, dword [esp + 0x74]
mov eax, esi
push edi
mov edi, dword [esp + 0x74]
mov ebx, edi
sub ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x4c]
sbb eax, dword [esp + 0x58]
mov dword [esp + 0x28], eax
mov eax, edi
sub eax, dword [esp + 0x64]
mov dword [esp + 0x18], eax
mov eax, esi
sbb eax, dword [esp + 0x68]
xor ecx, ecx
mov dword [esp + 0x38], eax
xor edx, edx
mov eax, dword [esp + 0x7c]
neg eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], eax
add eax, ecx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov dword [esp + 0x34], ecx
mov eax, edi
cmovae edx, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], edx
mov edx, esi
call fcn.0043f550
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
add ecx, 0xffffffff
mov dword [esp + 0x3c], ecx
adc edx, 0xffffffff
mov dword [esp + 0x24], eax
and ecx, edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x14], ecx
and edx, esi
lea ecx, [esp + 0x74]
mov dword [esp + 0x10], edx
push ecx
xor edx, edx
push eax
mov dword [esp + 0x7c], edx
call fcn.0041c8d6
mov dword [esp + 0x24], eax
pop ecx
pop ecx
push 0xa
pop edx
test eax, eax
jle 0x41d166
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
xor edx, edx
div esi
mov ecx, dword [ebp]
mov edx, dword [esp + 0x48]
add al, 0x30
mov byte [edx + ecx], al
xor edx, edx
mov eax, dword [esp + 0x24]
div esi
inc dword [ebp]
mov ecx, dword [esp + 0x20]
mov eax, edx
dec dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x24], eax
call fcn.0043f420
add eax, dword [esp + 0x14]
mov ecx, edx
mov dword [esp + 0x54], eax
adc ecx, dword [esp + 0x10]
mov dword [esp + 0x74], ecx
cmp ecx, edi
jb 0x41d248
ja 0x41d150
cmp eax, ebx
jbe 0x41d248
push 0xa
mov eax, esi
xor edx, edx
pop ecx
div ecx
mov ecx, dword [esp + 0x1c]
mov esi, eax
test ecx, ecx
jg 0x41d0f8
push 0xa
pop edx
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mul edx
push 0xa
mov ecx, eax
mov eax, dword [esp + 0x18]
pop edx
mul edx
add ecx, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov edx, ecx
mov ecx, dword [esp + 0x20]
call fcn.0043f550
mov ecx, dword [ebp]
add al, 0x30
mov edx, dword [esp + 0x48]
push 0xa
mov byte [edx + ecx], al
mov eax, dword [esp + 0x18]
and eax, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
mov ecx, eax
and edx, dword [esp + 0x44]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov eax, esi
mov dword [esp + 0x78], edx
pop edx
mul edx
push 0xa
mov esi, eax
inc dword [ebp]
pop edx
inc dword [esp + 0x2c]
mov eax, ebx
mul edx
push 0xa
add esi, edx
mov ebx, eax
pop edx
mov eax, edi
mul edx
push 0xa
mov edi, eax
mov eax, dword [esp + 0x1c]
pop edx
mul edx
push 0xa
add edi, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
pop edx
cmp eax, esi
ja 0x41d17a
jb 0x41d212
cmp ecx, ebx
ja 0x41d17a
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
sub dword [eax], edx
push dword [esp + 0x30]
mov eax, dword [esp + 0x4c]
push dword [esp + 0x38]
push dword [esp + 0x7c]
push ecx
push esi
push ebx
push edi
push dword [esp + 0x34]
push dword [ebp]
push eax
call fcn.0041d273
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov eax, dword [esp + 0x50]
xor edx, edx
mov ecx, dword [esp + 0x1c]
add dword [eax], ecx
mov eax, esi
mov ecx, dword [esp + 0x20]
call fcn.0043f420
mov ecx, dword [esp + 0x54]
mov esi, edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
jmp 0x41d21c