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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x48
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x1c], eax
movzx ecx, byte [esp + 0x78]
test ecx, ecx
je 0x434404
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fdiv qword [0x841708]
jmp 0x434416
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fdiv qword [0x841710]
fld qword [0x841718]
fld st(1)
fsub st(1)
fnstcw word [esp]
movzx eax, word [esp]
and eax, 0xfffff3ff
or eax, 0x400
mov dword [esp + 8], eax
fldcw word [esp + 8]
fistp dword [esp + 0x14]
fldcw word [esp]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
faddp st(1)
fld st(0)
frndint
fcom st(1)
wait
fnstsw ax
sahf
fstp st(1)
jae 0x43445c
fld1
faddp st(1)
fistp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], edx
test ecx, ecx
je 0x43455d
mov eax, dword [esp + 0x20]
cmp eax, edx
jg 0x4346d3
mov ebp, 1
xor ecx, ecx
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x2c], edx
xor edx, edx
mov dword [esp + 0x28], edx
mov edx, eax
mov esi, edx
neg esi
mov edi, dword [0x842298]
imul esi, edi
add esi, dword [esp + 0x24]
mov eax, dword [esp + 0x6c]
imul eax, dword [esp + 0x68]
mov dword [esp + 0x38], eax
imul edx, edi
add edx, esi
mov esi, dword [0x842294]
lea edx, [esi + edx*4]
add edi, edi
add edi, edi
mov dword [esp + 0x44], edi
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebp
mov edi, dword [esp + 0x20]
mov ebp, edi
test edi, edi
jge 0x4344e9
mov ebp, edi
neg ebp
mov esi, dword [esp + 0x6c]
cmp edi, esi
jl 0x4344fc
mov ebp, dword [esp + 0x6c]
lea ebp, [ebp + ebp]
sub ebp, edi
dec ebp
mov esi, dword [edx]
add ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ebp, dword [eax + ebp*4]
mov eax, ebp
and eax, 0xff
imul eax, esi
add dword [esp + 0x2c], eax
mov eax, ebp
shr eax, 8
movzx eax, al
imul eax, esi
add ebx, eax
mov eax, ebp
shr eax, 0x10
movzx eax, al
imul eax, esi
add ecx, eax
shr ebp, 0x18
imul ebp, esi
add dword [esp + 0x28], ebp
add dword [esp + 0x30], esi
add edx, dword [esp + 0x44]
inc edi
mov ebp, dword [esp + 0x40]
cmp edi, ebp
jle 0x4344df
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
jmp 0x434638
mov eax, dword [esp + 0x20]
cmp eax, edx
jg 0x4346e5
mov ebp, 1
xor ecx, ecx
xor ebx, ebx
xor eax, eax
xor edx, edx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x20]
mov edi, edx
neg edi
mov esi, dword [0x842298]
imul edi, esi
add edi, dword [esp + 0x68]
imul edx, esi
add edx, edi
mov edi, dword [0x842294]
lea edx, [edi + edx*4]
add esi, esi
add esi, esi
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov esi, dword [esp + 0x20]
mov ebx, esi
test esi, esi
jge 0x4345c3
mov ebx, esi
neg ebx
mov ebp, dword [esp + 0x70]
cmp esi, ebp
jl 0x4345d5
mov ebx, dword [esp + 0x70]
lea ebx, [ebx + ebx]
sub ebx, esi
dec ebx
mov ebp, dword [edx]
imul ebx, dword [esp + 0x6c]
add ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
mov ebx, dword [edi + ebx*4]
movzx edi, bl
imul edi, ebp
add eax, edi
mov edi, ebx
shr edi, 8
and edi, 0xff
imul edi, ebp
add dword [esp + 0x34], edi
mov edi, ebx
shr edi, 0x10
and edi, 0xff
imul edi, ebp
add ecx, edi
shr ebx, 0x18
imul ebx, ebp
add dword [esp + 0x28], ebx
add dword [esp + 0x30], ebp
add edx, dword [esp + 0x38]
inc esi
mov ebx, dword [esp + 0x40]
cmp esi, ebx
jle 0x4345b9
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
cdq
idiv ebp
mov dword [esp + 0x20], eax
mov eax, ebx
cdq
idiv ebp
mov ebx, eax
mov eax, ecx
cdq
idiv ebp
mov ecx, eax
mov eax, esi
cdq
idiv ebp
mov ebp, 0xff
mov edx, dword [esp + 0x20]
cmp edx, 0xff
jle 0x434665
mov edx, ebp
mov dword [esp + 0x20], edx
cmp ebx, 0xff
jle 0x434673
mov ebx, ebp
cmp ecx, 0xff
jle 0x43467d
mov ecx, ebp
cmp eax, 0xff
jle 0x434686
mov eax, ebp
xor edi, edi
test edx, edx
jge 0x43468e
mov edx, edi
mov dword [esp + 0x20], edx
test ebx, ebx
jge 0x434698
mov ebx, edi
test ecx, ecx
jge 0x43469e
mov ecx, edi
test eax, eax
jge 0x4346a4
mov eax, edi
mov edx, dword [esp + 0x68]
imul edx, dword [esp + 0x74]
mov edi, dword [esp + 0x24]
add edi, edx
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov byte [ebp + edi*4], dl
mov byte [ebp + edi*4 + 1], bl
mov byte [ebp + edi*4 + 2], cl
mov byte [ebp + edi*4 + 3], al
add esp, 0x48
pop ebx
pop ebp
pop esi
pop edi
ret
mov ebp, 1
xor ecx, ecx
xor ebx, ebx
xor eax, eax
xor esi, esi
jmp 0x434638
mov ebp, 1
xor ecx, ecx
xor ebx, ebx
xor eax, eax
xor esi, esi
jmp 0x434638