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

Disassembly:
push 0xffffffffffffffff
push 0x64022880
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6402c09c]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x74]
lea eax, [esp + 0x18]
xor ebx, ebx
push eax
mov edi, 0x640265c4
mov dword [esp + 0x3c], ebx
call fcn.6400aae0
push ebx
push ebx
mov dword [esp + 0x74], ebx
call dword [0x640241d0]
test eax, eax
jge 0x6400b5d3
mov esi, dword [esp + 0x18]
cmp esi, ebx
mov dword [ebp], esi
je 0x6400b873
lea edi, [esi + 8]
push edi
call dword [0x64024020]
push edi
call dword [0x64024098]
test eax, eax
jne 0x6400b873
mov eax, dword [esi]
cmp eax, ebx
je 0x6400b5b5
push eax
call dword [0x640241a0]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x6400b5c5
push eax
call fcn.64012bfa
add esp, 4
push esi
call fcn.64011d22
add esp, 4
jmp 0x6400b873
lea ecx, [esp + 0x20]
push ecx
push 0x64024930
push 1
push ebx
push 0x64024a00
mov dword [esp + 0x34], ebx
call dword [0x640241dc]
cmp eax, ebx
jl 0x6400b84f
push 0x64027fd8
push 0xa
push 0x64028018
mov dword [esp + 0x28], ebx
call fcn.64006b80
add esp, 0xc
lea edx, [esp + 0x30]
push edx
mov edi, eax
call fcn.6400aae0
mov byte [esp + 0x6c], 1
mov eax, dword [eax]
cmp eax, ebx
je 0x6400b62a
mov eax, dword [eax]
jmp 0x6400b62c
xor eax, eax
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
lea esi, [esp + 0x1c]
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
mov eax, dword [edx + 0xc]
push ecx
call eax
lea edi, [esp + 0x30]
mov esi, eax
mov byte [esp + 0x6c], bl
call fcn.6400ab80
cmp esi, ebx
jge 0x6400b660
mov eax, dword [esp + 0x20]
jmp 0x6400b847
mov eax, dword [esp + 0x1c]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push eax
call fcn.6400e700
call eax
cmp eax, ebx
jge 0x6400b68f
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
jmp 0x6400b847
push 0x64028030
push 0xe
push 0x64028060
mov dword [esp + 0x30], ebx
call fcn.64006890
add esp, 0xc
push eax
lea ebx, [esp + 0x3c]
call fcn.6400aa50
mov ecx, dword [esp + 0x78]
push ecx
lea edx, [esp + 0x38]
push edx
push eax
mov byte [esp + 0x78], 2
call fcn.6400ada0
mov esi, eax
push 0x64028070
push 3
push 0x640280b0
mov byte [esp + 0x78], 3
call fcn.64006890
add esp, 0xc
push eax
lea ebx, [esp + 0x34]
call fcn.6400aa50
mov byte [esp + 0x6c], 4
mov ecx, dword [esi]
xor ebx, ebx
cmp ecx, ebx
je 0x6400b6fc
mov ecx, dword [ecx]
jmp 0x6400b6fe
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x6400b708
mov edx, dword [eax]
jmp 0x6400b70a
xor edx, edx
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
lea edi, [esp + 0x24]
push edi
push ebx
push 0x30
push ecx
push edx
push eax
mov eax, dword [esi + 0x50]
call eax
lea edi, [esp + 0x30]
mov esi, eax
call fcn.6400ab80
lea edi, [esp + 0x34]
call fcn.6400ab80
lea edi, [esp + 0x38]
mov byte [esp + 0x6c], bl
call fcn.6400ab80
cmp esi, ebx
jge 0x6400b75a
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
jmp 0x6400b847
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov dword [esp + 0x2c], ebx
je 0x6400b81f
mov edi, dword [0x64024190]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x2c]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x2c], ebx
je 0x6400b81f
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x7c]
mov ebp, dword [esi]
push ebx
push ebx
lea ecx, [esp + 0x44]
push ecx
push ebx
call fcn.6400ae20
mov edx, dword [ebp + 0x10]
push eax
push esi
call edx
cmp eax, ebx
jl 0x6400b7ba
cmp word [esp + 0x3c], 8
je 0x6400b7db
lea eax, [esp + 0x3c]
push eax
call edi
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov ebp, dword [esp + 0x74]
jne 0x6400b770
jmp 0x6400b81f
lea eax, [esp + 0x4c]
push eax
call dword [0x64024188]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x50]
push edx
call dword [0x6402418c]
cmp eax, ebx
jge 0x6400b800
push eax
call fcn.6401e4b0
lea esi, [esp + 0x4c]
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 5
call fcn.6400af00
mov eax, esi
push eax
mov byte [esp + 0x70], bl
call edi
mov ebp, dword [esp + 0x74]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [0x640241d4]
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [ebp], eax
je 0x6400b86a
add eax, 8
push eax
call dword [0x64024020]
lea edi, [esp + 0x18]
call fcn.6400ab80
mov eax, ebp
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret