Function at 0x430c25
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47ee79
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x4a1060]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x10]
xor edi, edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], edi
mov eax, dword [0x4a444c]
mov ecx, 0x4a444c
mov dword [esp + 0x14], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x68], edi
jmp 0x430f58
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov edi, esp
call fcn.00403bb0
add eax, 0x10
push esi
mov dword [edi], eax
call fcn.00431081
cmp dword [esi + 0x38], 0
mov ebx, eax
je 0x430d79
cmp ebx, 6
jne 0x430d79
mov eax, dword [0x4a444c]
mov ecx, 0x4a444c
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
push 0
lea ebx, [esp + 0x1c]
mov byte [esp + 0x6c], 1
call fcn.00431011
test eax, eax
je 0x430d58
lea eax, [esp + 0x24]
push 0x4902b4
push eax
lea ecx, [esp + 0x18]
call fcn.00403373
mov ecx, ebx
push ecx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
mov byte [esp + 0x78], 2
call fcn.00403322
add esp, 0x10
lea edi, [esp + 0x10]
mov byte [esp + 0x68], 3
call fcn.00402ed6
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.00403c45
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.00403c45
push 0x4902bc
xor ecx, ecx
mov esi, ebx
call fcn.0040313f
mov byte [esp + 0x68], 0
test eax, eax
mov eax, dword [esp + 0x18]
jge 0x430d6b
add eax, 0xfffffff0
call fcn.00403c45
mov esi, dword [ebp + 8]
jmp 0x430cb5
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.00403c45
jmp 0x430d76
add eax, 0xfffffff0
call fcn.00403c45
mov esi, dword [ebp + 8]
push 2
pop ebx
cmp ebx, 1
jne 0x430deb
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov edi, esp
call fcn.00403bb0
add eax, 0x10
mov dword [edi], eax
lea eax, [esp + 0x20]
push eax
call fcn.0043120c
mov byte [esp + 0x68], 4
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
jne 0x430db6
and dword [esp + 0x14], 0
jmp 0x430dd9
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov edi, esp
call fcn.00403bb0
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.0043186d
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x68], 0
call fcn.00403c45
jmp 0x430f58
cmp ebx, 2
jne 0x430e5a
cmp dword [esp + 0x14], 0
je 0x430f58
lea edi, [esp + 0x2c]
call fcn.004308d4
mov byte [esp + 0x68], 5
mov eax, dword [esp + 0x10]
push ecx
mov esi, edi
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov edi, esp
call fcn.00403bb0
push dword [ebp + 8]
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.0043125f
test eax, eax
je 0x430e40
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], ebx
mov ebx, esi
call fcn.004308fb
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.00403c45
mov eax, dword [esp + 0x2c]
jmp 0x430f4d
cmp ebx, 5
jne 0x430f0c
cmp dword [esp + 0x14], 0
je 0x430f58
lea edi, [esp + 0x3c]
call fcn.004308d4
mov eax, dword [ebp + 8]
mov byte [esp + 0x68], 6
cmp dword [eax + 0x34], 0
jne 0x430ed5
push 0x3b
xor ecx, ecx
lea esi, [esp + 0x14]
call fcn.00403115
test eax, eax
jl 0x430ed5
push 0x3b
xor ecx, ecx
call fcn.00403115
mov ecx, eax
lea edx, [esp + 0x28]
mov eax, esi
call fcn.00403298
mov edi, esi
mov byte [esp + 0x68], 7
call fcn.00402ed6
mov byte [esp + 0x68], 6
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.00403c45
mov eax, esi
call fcn.00417587
call fcn.004175d7
lea eax, [esp + 0x10]
lea edi, [esp + 0x3c]
mov dword [esp + 0x48], 5
call fcn.00402ed6
mov eax, dword [esp + 0x14]
mov ebx, edi
call fcn.004308fb
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
call fcn.00403c45
mov eax, dword [esp + 0x3c]
jmp 0x430f4d
cmp dword [esi + 0x3c], 0
je 0x430f58
lea edi, [esp + 0x4c]
call fcn.004308d4
lea eax, [esp + 0x10]
mov byte [esp + 0x68], 8
call fcn.00402ed6
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], ebx
mov ebx, edi
call fcn.004308fb
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
call fcn.00403c45
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
call fcn.00403c45
mov esi, dword [ebp + 8]
push 1
lea ebx, [esp + 0x14]
call fcn.00431011
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x430c86
add eax, 0xfffffff0
call fcn.00403c45
xor eax, eax
inc eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc