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

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov ebp, ecx
call fcn.004b9ca0
mov eax, dword [esp + 0x3c]
mov dword [ebp], 0x55fb00
mov dword [ebp + 0x48], eax
mov eax, dword [0x588e8c]
xor ebx, ebx
cmp eax, 1
mov byte [esp + 0x3c], bl
jle 0x4b10a0
mov byte [esp + 0x3c], 1
xor ecx, ecx
cmp eax, 2
setl cl
push 0x1c
lea ecx, [ecx + ecx + 0xc]
mov dword [0x5bef90], ecx
call fcn.00512b50
add esp, 4
cmp eax, ebx
je 0x4b10cb
mov ecx, eax
call fcn.004699d0
mov esi, eax
jmp 0x4b10cd
xor esi, esi
fild dword [0x5bef90]
push 0x4e4
fst dword [esi + 4]
fstp dword [esi + 8]
call fcn.00512b50
add esp, 4
cmp eax, ebx
je 0x4b10f5
push ebx
push esi
mov ecx, eax
call fcn.0046b750
jmp 0x4b10f7
xor eax, eax
mov dword [ebp + 0xcc], eax
mov al, byte [esp + 0x3c]
cmp al, bl
jne 0x4b1129
push 0x4e4
call fcn.00512b50
add esp, 4
cmp eax, ebx
je 0x4b1121
push ebx
push esi
mov ecx, eax
call fcn.0046b750
jmp 0x4b1123
xor eax, eax
mov dword [ebp + 0xd0], eax
push 0x54
call fcn.00512b50
add esp, 4
cmp eax, ebx
je 0x4b1140
mov ecx, eax
call fcn.0046dff0
jmp 0x4b1142
xor eax, eax
mov cl, byte [esp + 0x3c]
mov dword [ebp + 0xd4], eax
cmp cl, bl
je 0x4b116d
mov byte [esp + 0xc], bl
mov byte [esp + 0xd], bl
mov byte [esp + 0xe], bl
mov byte [esp + 0xf], 0x40
mov edx, dword [esp + 0xc]
mov byte [eax + 0x48], bl
mov dword [eax + 0x40], edx
jmp 0x4b118b
mov edx, dword [0x5bcc7c]
mov byte [eax + 0x48], bl
mov dword [eax + 0x40], edx
mov eax, dword [ebp + 0xd4]
mov byte [eax + 0x50], 1
mov byte [eax + 0x51], 1
mov byte [eax + 0x52], 1
cmp cl, bl
mov dword [ebp + 0x44], 0x21
je 0x4b119d
mov dword [ebp + 0x44], 0x20
mov eax, dword [ebp + 0x44]
mov ecx, dword [0x5c741c]
push edi
lea eax, [eax + eax*4]
shl eax, 3
push eax
call fcn.00512c10
mov dword [ebp + 0x40], eax
mov eax, 0xffffffb0
sub eax, ebp
lea edi, [ebp + 0x50]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x1e
mov ecx, dword [0x5c741c]
push 0x38
call fcn.00512c10
mov esi, eax
cmp esi, ebx
je 0x4b11fe
push 0xff
push ebx
push ebx
push ebx
lea ecx, [esi + 0x2c]
mov byte [esi + 0x28], bl
mov byte [esi + 0x29], bl
mov byte [esi + 0x2a], bl
mov byte [esi + 0x2b], 0xff
call fcn.004121e0
jmp 0x4b1200
xor esi, esi
push 0x1c
mov dword [edi], esi
call fcn.00512b50
add esp, 4
cmp eax, ebx
je 0x4b121b
mov ecx, eax
call fcn.004699d0
mov esi, eax
jmp 0x4b121d
xor esi, esi
fild dword [0x5bef90]
push 0x4e4
fst dword [esi + 4]
fstp dword [esi + 8]
call fcn.00512b50
add esp, 4
cmp eax, ebx
je 0x4b1245
push ebx
push esi
mov ecx, eax
call fcn.0046b750
jmp 0x4b1247
xor eax, eax
mov ecx, dword [edi]
push 0x28
mov dword [ecx], eax
mov edx, dword [edi]
mov eax, dword [edx]
mov dword [eax + 0x458], 3
call fcn.00512b50
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4b12f9
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x28]
call fcn.00444d40
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x2c]
push edx
call fcn.00444d40
mov eax, dword [edi]
sub esp, 8
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [esp + 0x34]
mov dword [esi + 4], edx
mov eax, dword [esp + 0x38]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x10], edx
lea ecx, [esp + 0x3c]
fld dword [esp + 0x30]
fsub dword [esp + 0x38]
fstp dword [esp + 4]
fld dword [esp + 0x2c]
fsub dword [esp + 0x34]
fstp dword [esp]
call fcn.0045e750
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
fld dword [esi + 0x14]
fmul dword [0x55244c]
fstp dword [esi + 0x14]
fld dword [esi + 0x18]
fmul dword [0x55244c]
fstp dword [esi + 0x18]
mov byte [esi + 0x1c], bl
jmp 0x4b12fb
xor esi, esi
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x40]
add edx, edi
add edi, 4
mov dword [edx + eax], esi
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x4b11cc
push 0x28
call fcn.00512b50
add esp, 4
mov esi, eax
cmp esi, ebx
pop edi
je 0x4b13bc
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00444d40
lea edx, [esp + 0x18]
lea ecx, [esp + 0x20]
push edx
call fcn.00444d40
mov eax, dword [ebp + 0xd4]
sub esp, 8
mov dword [esi], eax
mov ecx, dword [esp + 0x28]
mov dword [esi + 4], ecx
mov edx, dword [esp + 0x2c]
mov dword [esi + 8], edx
mov eax, dword [esp + 0x30]
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x38]
fld dword [esp + 0x34]
fsub dword [esp + 0x2c]
fstp dword [esp + 4]
fld dword [esp + 0x30]
fsub dword [esp + 0x28]
fstp dword [esp]
call fcn.0045e750
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], eax
fld dword [esi + 0x14]
fmul dword [0x55244c]
fstp dword [esi + 0x14]
fld dword [esi + 0x18]
fmul dword [0x55244c]
fstp dword [esi + 0x18]
mov byte [esi + 0x1c], bl
jmp 0x4b13be
xor esi, esi
mov ecx, dword [ebp + 0x40]
push 0x28
mov dword [ecx + 0x78], esi
call fcn.00512b50
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4b145b
lea edx, [esp + 0x18]
lea ecx, [esp + 0x28]
push edx
call fcn.00444d40
lea eax, [esp + 0x18]
lea ecx, [esp + 0x20]
push eax
call fcn.00444d40
mov ecx, dword [ebp + 0xcc]
mov dword [esi], ecx
mov edx, dword [esp + 0x20]
mov dword [esi + 4], edx
mov eax, dword [esp + 0x24]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x28]
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x10], edx
fld dword [esp + 0x28]
fsub dword [esp + 0x20]
fstp dword [esp + 0x10]
fld dword [esp + 0x2c]
fsub dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov dword [esi + 0x14], eax
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x18], ecx
fld dword [esi + 0x14]
fmul dword [0x55244c]
fstp dword [esi + 0x14]
fld dword [esi + 0x18]
fmul dword [0x55244c]
fstp dword [esi + 0x18]
mov byte [esi + 0x1c], bl
jmp 0x4b145d
xor esi, esi
mov edx, dword [ebp + 0x40]
mov al, byte [esp + 0x3c]
cmp al, bl
mov dword [edx + 0x7c], esi
jne 0x4b1535
push 0x28
call fcn.00512b50
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4b1506
lea eax, [esp + 0x18]
lea ecx, [esp + 0x28]
push eax
call fcn.00444d40
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x24]
call fcn.00444d40
mov edx, dword [ebp + 0xd0]
mov dword [esi], edx
mov eax, dword [esp + 0x20]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x24]
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x28]
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x10], eax
fld dword [esp + 0x28]
fsub dword [esp + 0x20]
fstp dword [esp + 0x10]
fld dword [esp + 0x2c]
fsub dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x14], ecx
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x18], edx
fld dword [esi + 0x14]
fmul dword [0x55244c]
fstp dword [esi + 0x14]
fld dword [esi + 0x18]
fmul dword [0x55244c]
fstp dword [esi + 0x18]
mov byte [esi + 0x1c], bl
jmp 0x4b1508
xor esi, esi
mov eax, dword [ebp + 0x40]
lea edx, [esp + 0x3c]
push edx
mov dword [eax + 0x80], esi
mov ecx, dword [0x5ab9d8]
mov esi, dword [ebp + 0xd0]
mov dword [esp + 0x40], ecx
call fcn.005220a0
push eax
push esi
call fcn.0046b8d0
add esp, 0xc
mov ecx, ebp
call fcn.004b1830
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4