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

Disassembly:
sub esp, 0x48
test edi, edi
je 0x7e3c5c
cmp edi, 1
jne 0x7e3c67
mov eax, dword [edi*4 + 0xdb4c14]
test eax, eax
je 0x7e3c6d
xor eax, eax
add esp, 0x48
ret
push ebx
push ebp
push esi
push 0x280
push 1
call fcn.00412da0
mov dword [edi*4 + 0xdb4c14], eax
mov byte [eax + 0x27e], 0xff
mov eax, dword [edi*4 + 0xdb4c14]
mov word [eax + 0x27c], 0xffc4
call fcn.0045cce0
mov ecx, dword [edi*4 + 0xdb4c14]
mov ebp, eax
push 1
push ebp
mov dword [ecx], ebp
call fcn.00460450
movsx eax, word [0xeebb04]
cdq
sub eax, edx
sar eax, 1
mov edx, 0x1a
sub edx, eax
movsx eax, word [0xeebb06]
mov dword [esp + 0x28], edx
cdq
fild dword [esp + 0x28]
sub eax, edx
sar eax, 1
mov ecx, 0x16
sub ecx, eax
fstp dword [esp + 0x44]
mov eax, dword [0xeebb14]
mov dword [esp + 0x28], ecx
add esp, 0x10
test eax, eax
fild dword [esp + 0x18]
mov dword [esp + 0x3c], 0x43e38000
mov dword [esp + 0x40], 0x43c18000
fstp dword [esp + 0x38]
je 0x7e3d1a
fld dword [esp + 0x38]
fadd dword [0x884a10]
fstp dword [esp + 0x38]
push 0
lea edx, [esp + 0x38]
push edx
push ebp
call fcn.004602c0
push ebp
call fcn.0085d110
mov esi, eax
mov eax, dword [edi*4 + 0xdb4c14]
push 1
push esi
mov dword [eax + 4], esi
call fcn.00460450
push 5
push esi
call fcn.0085d0d0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
movzx ecx, byte [esi + 0x40]
lea edx, [ecx*8 + 0x8de66c]
push edx
lea eax, [esp + 0x58]
push eax
push esi
call fcn.004602c0
push ebp
call fcn.0085cf30
mov ecx, dword [edi*4 + 0xdb4c14]
mov esi, eax
push 1
push esi
mov dword [ecx + 8], esi
call fcn.00460450
push 0
lea edx, [esp + 0x70]
push edx
push esi
mov dword [esp + 0x78], 0x41b80000
mov dword [esp + 0x7c], 0x41f80000
mov dword [esp + 0x80], 0x43cc8000
mov dword [esp + 0x84], 0x438f0000
call fcn.004602c0
add esp, 0x44
push esi
call fcn.0085d050
mov ebx, eax
push 1
push ebx
mov dword [esp + 0x18], ebx
call fcn.00460450
push 0
push ebx
call fcn.0085d040
add esp, 0x14
mov ebx, 0x8d8f58
mov eax, dword [esp + 0xc]
push eax
call fcn.0085cfb0
mov ecx, ebx
mov edx, dword [ecx]
mov dword [esp + 0x38], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x3c], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
add esp, 4
test edi, edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
je 0x7e3e42
fld dword [0x8d91b4]
fsub dword [esp + 0x34]
fstp dword [esp + 0x34]
fld dword [0x8d91b0]
fsub dword [esp + 0x38]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fchs
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fchs
fstp dword [esp + 0x40]
lea edx, [esp + 0x34]
push edx
push eax
call fcn.004655b0
add ebx, 0x10
add esp, 8
cmp ebx, 0x8d8ff8
jl 0x7e3de4
push 0x4e46
call fcn.0045f1b0
push esi
mov dword [esp + 0x20], eax
call fcn.0085d050
mov esi, eax
push 1
push esi
mov dword [esp + 0x1c], esi
call fcn.00460450
push 1
push esi
call fcn.0085d040
add esp, 0x18
mov dword [esp + 0x14], 0x8d8ff8
mov ebx, str.m:97m:97m:9_m:9__
jmp 0x7e3ea0
mov esi, dword [esp + 0xc]
jmp 0x7e3ea0
push esi
call fcn.0085cfb0
mov esi, eax
mov eax, dword [esp + 0x1c]
push eax
push esi
call fcn.00465f10
push ebx
push esi
call fcn.00465b50
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x48], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 0xc]
add esp, 0x14
test edi, edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
je 0x7e3f10
fld dword [0x8d91b4]
fsub dword [esp + 0x34]
fstp dword [esp + 0x34]
fld dword [0x8d91b0]
fsub dword [esp + 0x38]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fchs
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fchs
fstp dword [esp + 0x40]
lea ecx, [esp + 0x34]
push ecx
push esi
call fcn.004655b0
mov ecx, dword [esp + 0x1c]
add ebx, 8
add ecx, 0x10
add esp, 8
cmp ebx, 0x92bf0c
mov dword [esp + 0x14], ecx
jl 0x7e3e97
push ebp
call fcn.0085cf30
mov edx, dword [edi*4 + 0xdb4c14]
mov esi, eax
push 1
push esi
mov dword [edx + 0xc], esi
call fcn.00460450
push 0
lea eax, [esp + 0x44]
push eax
push esi
mov dword [esp + 0x4c], 0x41b80000
mov dword [esp + 0x50], 0x41f80000
mov dword [esp + 0x54], 0x43cc8000
mov dword [esp + 0x58], 0x438f0000
call fcn.004602c0
push esi
call fcn.0085d050
mov ebp, eax
push 1
push ebp
call fcn.00460450
push 0
push ebp
call fcn.0085d040
push ebp
call fcn.0085cfb0
mov ecx, dword [edi*4 + 0xdb4c14]
lea edx, [esp + 0x64]
mov ebp, eax
mov dword [ecx + 0x10], ebp
push edx
push ebp
mov dword [esp + 0x6c], 0x42900000
mov dword [esp + 0x70], 0x439d0000
mov dword [esp + 0x74], 0x43a88000
mov dword [esp + 0x78], 0x3f800000
call fcn.004655b0
push 0x92bad8
push ebp
call fcn.00465950
add esp, 0x40
push esi
call fcn.0085d050
mov ebp, eax
push 1
push ebp
mov dword [esp + 0x18], ebp
call fcn.00460450
push 1
push ebp
call fcn.0085d040
push ebp
call fcn.0085cfb0
mov ebx, eax
lea eax, [esp + 0x4c]
push eax
push ebx
mov dword [esp + 0x54], 0x42900000
mov dword [esp + 0x58], 0x438f8000
mov dword [esp + 0x5c], 0x43480000
mov dword [esp + 0x60], 0x41900000
call fcn.004655b0
mov ecx, dword [esp + 0x38]
push ecx
push ebx
call fcn.00465f10
lea edx, [esp + 0x54]
push edx
push ebx
mov word [esp + 0x5c], 1
mov word [esp + 0x5e], 0x9a
mov word [esp + 0x60], 0xc8
mov word [esp + 0x62], 0x12
call fcn.00465b50
push ebp
call fcn.0085cfb0
mov ebx, eax
mov dword [esp + 0x68], 0x42900000
mov dword [esp + 0x6c], 0x43988000
lea eax, [esp + 0x68]
push eax
push ebx
mov dword [esp + 0x78], 0x43170000
mov dword [esp + 0x7c], 0x41100000
call fcn.004655b0
mov ecx, dword [esp + 0x54]
push ecx
push ebx
call fcn.00465f10
add esp, 0x44
lea edx, [esp + 0x2c]
push edx
push ebx
mov word [esp + 0x34], 1
mov word [esp + 0x36], 0x7f
mov word [esp + 0x38], 0x97
mov word [esp + 0x3a], 9
call fcn.00465b50
push ebp
call fcn.0085cfb0
mov ebx, eax
lea eax, [esp + 0x40]
push eax
push ebx
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0x43910000
mov dword [esp + 0x50], 0x42860000
mov dword [esp + 0x54], 0x42440000
call fcn.004655b0
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x34]
push edx
push edi
call fcn.006354a0
push eax
push ebx
call fcn.00465f10
mov eax, dword [esp + 0x44]
push eax
push ebx
call fcn.00465a20
mov ecx, dword [0x91cfa8]
push 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
movzx edx, byte [ecx + edi]
push 0
push 1
push edx
call fcn.00561740
add esp, 0x40
push eax
lea eax, [esp + 0x28]
push eax
push 0x16
push esi
call fcn.004629a0
mov ebx, eax
push 1
push ebx
call fcn.00460450
push 0
lea ecx, [esp + 0x50]
push ecx
push ebx
mov dword [esp + 0x58], 0x42900000
mov dword [esp + 0x5c], 0x439e0000
mov dword [esp + 0x60], 0x43cc8000
mov dword [esp + 0x64], 0x41a00000
call fcn.004602c0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0xc1980000
call fcn.007e2690
push eax
lea edx, [esp + 0x4c]
push edx
push 0x16
push esi
call fcn.004629a0
push 1
push eax
call fcn.00460450
mov eax, edi
add esp, 0x3c
xor esi, esi
imul eax, eax, 0xc5
lea ecx, [eax + 0xeda986]
mov byte [esp + 0x10], 0xff
mov byte [esp + 0x11], 0xfc
mov byte [esp + 0x12], 1
mov byte [esp + 0x13], 0xff
mov dword [esp + 0x14], ecx
test esi, esi
jne 0x7e41f8
fld dword [0x870770]
mov dword [esp + 0x24], 0x42500000
jmp 0x7e4250
mov eax, edi
imul eax, eax, 0x274
movzx edx, byte [eax + 0xe7ea80]
imul edx, edx, 0xab
add edx, eax
lea eax, [edx + esi]
movzx ecx, byte [eax + 0xe7ea8d]
movzx eax, byte [eax + 0xe7ea83]
mov edx, 0x68
sub edx, ecx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
fstp dword [esp + 0x24]
fild dword [esp + 0x18]
fcom dword [0x8d2d3c]
fnstsw ax
test ah, 0x41
jne 0x7e4250
fstp st(0)
fld dword [0x8d2d3c]
test edi, edi
je 0x7e4268
fld dword [0x8d2d34]
fsub dword [esp + 0x24]
fld dword [0x886024]
fsubrp st(2)
jmp 0x7e426c
fld dword [esp + 0x24]
fmul dword [0x8d91c0]
mov ecx, dword [esp + 0x14]
movzx edx, byte [ecx + esi]
push edx
fstp dword [esp + 0x28]
push edi
fmul dword [0x8d91bc]
fstp dword [esp + 0x30]
call fcn.006dfac0
add esp, 8
test eax, eax
mov dword [esp + 0x18], eax
je 0x7e43ff
mov cx, word [eax + 0x14]
shr cx, 1
test edi, edi
movzx edx, cx
mov ecx, dword [edi*4 + 0xdb4c14]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fsubr dword [esp + 0x24]
fstp dword [ecx + esi*8 + 0xc4]
mov edx, dword [edi*4 + 0xdb4c14]
fld dword [esp + 0x28]
fstp dword [edx + esi*8 + 0xc8]
jne 0x7e42e8
mov ecx, dword [0xdb4c14]
mov dword [ecx + esi*8 + 0x6c], 0x41f00000
jmp 0x7e4306
movzx edx, word [eax + 0x14]
mov ecx, 0x17b
sub ecx, edx
mov edx, dword [edi*4 + 0xdb4c14]
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
fstp dword [edx + esi*8 + 0x6c]
mov edx, dword [edi*4 + 0xdb4c14]
mov ecx, esi
imul ecx, ecx, 0x16
add ecx, 0xf
mov dword [esp + 0x20], ecx
push ebp
fild dword [esp + 0x24]
fstp dword [edx + esi*8 + 0x70]
mov ecx, dword [edi*4 + 0xdb4c14]
fld dword [ecx + esi*8 + 0xc4]
lea ecx, [ecx + esi*8]
fsub dword [ecx + 0x6c]
fmul dword [0x8cb06c]
fstp dword [ecx + 0x11c]
mov ecx, dword [edi*4 + 0xdb4c14]
fld dword [ecx + esi*8 + 0xc8]
fsub dword [ecx + esi*8 + 0x70]
fmul dword [0x8cb06c]
fstp dword [ecx + esi*8 + 0x120]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
movzx edx, word [eax + 0x14]
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
fstp dword [esp + 0x40]
movzx eax, word [eax + 0x16]
mov dword [esp + 0x24], eax
mov eax, dword [edi*4 + 0xdb4c14]
fild dword [esp + 0x24]
fstp dword [esp + 0x44]
fld dword [eax + esi*8 + 0x6c]
fstp dword [esp + 0x48]
fld dword [eax + esi*8 + 0x70]
mov dword [esp + 0x50], 0
fstp dword [esp + 0x4c]
mov dword [esp + 0x54], 0
call fcn.0085cfb0
mov ecx, dword [edi*4 + 0xdb4c14]
lea edx, [esp + 0x48]
mov ebx, eax
push edx
push ebx
mov dword [ecx + esi*8 + 0x14], ebx
call fcn.004654c0
lea eax, [esp + 0x40]
push eax
push ebx
call fcn.004655b0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0xc]
push edx
push ebx
call fcn.00465f10
mov eax, dword [esp + 0x34]
add eax, 0x1c
push eax
push ebx
call fcn.00465a20
add esp, 0x24
mov ecx, dword [esp + 0x14]
movzx edx, byte [ecx + esi]
push edx
push edi
call fcn.006dfaf0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x7e45a8
mov ax, word [ebx + 0x14]
mov edx, dword [edi*4 + 0xdb4c14]
shr ax, 1
test edi, edi
movzx ecx, ax
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
fsubr dword [esp + 0x24]
fstp dword [edx + esi*8 + 0x1cc]
movzx eax, word [ebx + 0x16]
mov ecx, dword [edi*4 + 0xdb4c14]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fsubr dword [esp + 0x28]
fstp dword [ecx + esi*8 + 0x1d0]
movzx edx, word [ebx + 0x14]
jne 0x7e447c
mov ecx, dword [0xdb4c14]
mov eax, 0x19
sub eax, edx
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
jmp 0x7e4492
mov ecx, dword [edi*4 + 0xdb4c14]
mov eax, 0x18e
sub eax, edx
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fstp dword [ecx + esi*8 + 0x174]
mov eax, dword [edi*4 + 0xdb4c14]
mov edx, esi
imul edx, edx, 0x16
add edx, 0xf
mov dword [esp + 0x20], edx
push ebp
fild dword [esp + 0x24]
fstp dword [eax + esi*8 + 0x178]
mov ecx, dword [edi*4 + 0xdb4c14]
fld dword [ecx + esi*8 + 0x1cc]
lea eax, [ecx + esi*8]
fsub dword [eax + 0x174]
fmul dword [0x8cb06c]
fstp dword [eax + 0x224]
mov eax, dword [edi*4 + 0xdb4c14]
fld dword [eax + esi*8 + 0x1d0]
fsub dword [eax + esi*8 + 0x178]
fmul dword [0x8cb06c]
fstp dword [eax + esi*8 + 0x228]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
movzx edx, word [ebx + 0x14]
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
fstp dword [esp + 0x40]
movzx eax, word [ebx + 0x16]
mov dword [esp + 0x24], eax
mov eax, dword [edi*4 + 0xdb4c14]
fild dword [esp + 0x24]
fstp dword [esp + 0x44]
fld dword [eax + esi*8 + 0x174]
fstp dword [esp + 0x48]
fld dword [eax + esi*8 + 0x178]
mov dword [esp + 0x50], 0
fstp dword [esp + 0x4c]
mov dword [esp + 0x54], 0
call fcn.0085cfb0
mov ecx, dword [edi*4 + 0xdb4c14]
lea edx, [esp + 0x48]
mov ebp, eax
push edx
push ebp
mov dword [ecx + esi*8 + 0x18], ebp
call fcn.004654c0
lea eax, [esp + 0x40]
push eax
push ebp
call fcn.004655b0
mov ecx, dword [ebx + 0xc]
push ecx
push ebp
call fcn.00465f10
add ebx, 0x1c
push ebx
push ebp
call fcn.00465a20
lea edx, [esp + 0x34]
push edx
push ebp
call fcn.00465950
mov ebp, dword [esp + 0x38]
add esp, 0x2c
inc esi
cmp esi, 0xb
jl 0x7e41e4
mov eax, dword [edi*4 + 0xdb4c14]
mov byte [eax + 0x27f], 0
mov ecx, dword [edi*4 + 0xdb4c14]
mov edx, dword [ecx + 8]
push 0
push edx
call fcn.00460470
mov eax, dword [0xdb4bf4]
add esp, 8
test edi, edi
mov dword [esp + 0x20], eax
je 0x7e45e7
cmp edi, 1
jne 0x7e462b
mov eax, dword [edi*4 + 0xdb4c14]
test eax, eax
je 0x7e462b
mov ecx, dword [0xdb4bf4]
mov edx, dword [eax + 4]
push ecx
push edx
call fcn.00460520
mov eax, dword [edi*4 + 0xdb4c14]
mov esi, dword [esp + 0x28]
mov ecx, dword [eax + 8]
push esi
push ecx
call fcn.00460520
mov edx, dword [edi*4 + 0xdb4c14]
mov eax, dword [edx + 0xc]
push esi
push eax
call fcn.00460520
add esp, 0x18
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x48
ret