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

Disassembly:
push 0xffffffffffffffff
push 0x5d2e10
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x680f10]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x78]
test ebp, ebp
mov edi, dword [esp + 0x74]
jne 0x4adb2e
mov eax, dword [edi]
mov edx, dword [eax + 0x5c]
mov ecx, edi
call edx
mov ebp, eax
mov esi, dword [esp + 0x6c]
test esi, esi
je 0x4ae0e2
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
cmp eax, 4
mov ecx, esi
jne 0x4ae04b
push 0
call fcn.004b5830
mov ebx, eax
test ebx, ebx
je 0x4ae0a7
mov eax, dword [ebx]
mov edx, dword [eax]
mov ecx, ebx
call edx
cmp eax, 3
jne 0x4ae0a7
push 0x5f4340
mov ecx, ebx
call fcn.004b5800
push eax
call fcn.0048b250
add esp, 8
test al, al
je 0x4adbc8
push 0x68
call fcn.004274d1
add esp, 4
mov dword [esp + 0x78], eax
test eax, eax
mov dword [esp + 0x64], 0
je 0x4ae0e2
mov ecx, dword [esp + 0x70]
push ecx
push edi
push esi
mov ecx, eax
call fcn.004ad140
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push 0x5f4344
mov ecx, ebx
call fcn.004b5800
push eax
call fcn.0048b250
add esp, 8
test al, al
je 0x4adc20
push 0x2c
call fcn.004274d1
add esp, 4
mov dword [esp + 0x78], eax
test eax, eax
mov dword [esp + 0x64], 1
je 0x4ae0e2
mov edx, dword [esp + 0x70]
push edx
push edi
mov ecx, eax
call fcn.004aec10
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push 0x5f434c
mov ecx, ebx
call fcn.004b5800
push eax
call fcn.0048b250
add esp, 8
test al, al
je 0x4adc78
push 0x2c
call fcn.004274d1
add esp, 4
mov dword [esp + 0x78], eax
test eax, eax
mov dword [esp + 0x64], 2
je 0x4ae0e2
mov ecx, dword [esp + 0x70]
push ecx
push edi
mov ecx, eax
call fcn.004aec40
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push 0x5f4354
mov ecx, ebx
call fcn.004b5800
push eax
call fcn.0048b250
add esp, 8
test al, al
je 0x4adcd1
push 0x30
call fcn.004274d1
add esp, 4
mov dword [esp + 0x78], eax
mov dword [esp + 0x64], 3
test eax, eax
je 0x4ae0e2
mov edx, dword [esp + 0x70]
push ebp
push edx
push edi
mov ecx, eax
call fcn.004aec60
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push 0x5f435c
mov ecx, ebx
call fcn.004b5800
push eax
call fcn.0048b250
add esp, 8
test al, al
je 0x4add2b
push 0x34
call fcn.004274d1
add esp, 4
mov dword [esp + 0x78], eax
test eax, eax
mov dword [esp + 0x64], 4
je 0x4ae0e2
mov ecx, dword [esp + 0x70]
push ebp
push ecx
push edi
push esi
mov ecx, eax
call fcn.004ad3c0
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push 0x5f4368
mov ecx, ebx
call fcn.004b5800
push eax
call fcn.0048b250
add esp, 8
test al, al
je 0x4add85
push 0x34
call fcn.004274d1
add esp, 4
mov dword [esp + 0x78], eax
test eax, eax
mov dword [esp + 0x64], 5
je 0x4ae0e2
mov edx, dword [esp + 0x70]
push ebp
push edx
push edi
push esi
mov ecx, eax
call fcn.004ad3c0
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push 0x5f4370
mov ecx, ebx
call fcn.004b5800
push eax
call fcn.0048b250
add esp, 8
test al, al
je 0x4adddf
push 0x3c
call fcn.004274d1
add esp, 4
mov dword [esp + 0x78], eax
test eax, eax
mov dword [esp + 0x64], 6
je 0x4ae0e2
mov ecx, dword [esp + 0x70]
push ebp
push ecx
push edi
push esi
mov ecx, eax
call fcn.004ad510
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push 0x5f4378
mov ecx, ebx
call fcn.004b5800
push eax
call fcn.0048b250
add esp, 8
test al, al
je 0x4adfed
push 1
mov ecx, esi
call fcn.004b5830
mov esi, eax
test esi, esi
je 0x4ae0a7
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
cmp eax, 6
jne 0x4ae0a7
push 0x5f4384
lea ecx, [esp + 0x40]
call fcn.0048cd50
lea ecx, [esp + 0x3c]
push ecx
push 1
mov ecx, esi
mov dword [esp + 0x6c], 7
call fcn.004b53e0
mov ecx, eax
call fcn.004b7950
lea ecx, [esp + 0x3c]
mov ebx, eax
mov dword [esp + 0x64], 0xffffffff
call fcn.004b36e0
test ebx, ebx
je 0x4ade86
mov edx, dword [esp + 0x70]
push ebp
push edi
push edx
push ebx
call fcn.004adaf0
add esp, 0x10
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push 0x5f4390
lea ecx, [esp + 0x40]
xor ebx, ebx
call fcn.0048cd50
lea eax, [esp + 0x3c]
push eax
push 1
mov ecx, esi
mov dword [esp + 0x6c], 8
call fcn.004b53e0
mov ecx, eax
call fcn.004b7950
lea ecx, [esp + 0x3c]
mov esi, eax
mov dword [esp + 0x64], 0xffffffff
call fcn.004b36e0
test esi, esi
je 0x4adf00
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
cmp eax, 1
jne 0x4adf00
mov ecx, esi
call fcn.004b57f0
fnstcw word [esp + 0x78]
movzx eax, word [esp + 0x78]
or eax, 0xc00
mov dword [esp + 0x6c], eax
fldcw word [esp + 0x6c]
fistp qword [esp + 0x14]
mov ebx, dword [esp + 0x14]
fldcw word [esp + 0x78]
mov eax, ebx
sub eax, 1
je 0x4adfae
sub eax, 2
je 0x4adf6f
sub eax, 1
je 0x4adf54
push 0x2c
call fcn.004274d1
add esp, 4
mov dword [esp + 0x78], eax
test eax, eax
mov dword [esp + 0x64], 0xc
je 0x4ae0e2
mov ecx, dword [esp + 0x70]
push ecx
push edi
mov ecx, eax
call fcn.004acba0
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push 0x30
call fcn.004274d1
add esp, 4
mov dword [esp + 0x78], eax
mov dword [esp + 0x64], 0xb
jmp 0x4adca7
push 0x2c
call fcn.004274d1
add esp, 4
mov dword [esp + 0x78], eax
test eax, eax
mov dword [esp + 0x64], 0xa
je 0x4ae0e2
mov ecx, dword [esp + 0x70]
push ecx
push edi
mov ecx, eax
call fcn.004aec40
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push 0x2c
call fcn.004274d1
add esp, 4
mov dword [esp + 0x78], eax
test eax, eax
mov dword [esp + 0x64], 9
je 0x4ae0e2
mov edx, dword [esp + 0x70]
push edx
push edi
mov ecx, eax
call fcn.004aec10
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push 0x5f4394
mov ecx, ebx
call fcn.004b5800
push eax
call fcn.0048b250
add esp, 8
test al, al
je 0x4ae0a7
push 0x30
call fcn.004274d1
add esp, 4
mov dword [esp + 0x78], eax
test eax, eax
mov dword [esp + 0x64], 0xd
je 0x4ae0e2
mov ecx, dword [esp + 0x70]
push ebp
push ecx
push edi
push esi
mov ecx, eax
call fcn.004ae100
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov edx, dword [esi]
mov eax, dword [edx]
call eax
cmp eax, 3
jne 0x4ae0a7
mov ecx, esi
call fcn.004b5800
push eax
lea ecx, [esp + 0x20]
call fcn.0048c600
mov dword [esp + 0x1c], 0x5f1570
push ebp
lea ecx, [esp + 0x20]
push edi
push ecx
mov dword [esp + 0x70], 0xe
call fcn.004ae320
add esp, 0xc
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.004b36e0
mov eax, esi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push 0x2c
call fcn.004274d1
add esp, 4
mov dword [esp + 0x78], eax
test eax, eax
mov dword [esp + 0x64], 0xf
je 0x4ae0e2
mov edx, dword [esp + 0x70]
push edx
push edi
mov ecx, eax
call fcn.004acba0
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
xor eax, eax
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret