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

Disassembly:
sub esp, 0x4d0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4e0]
push edi
push esi
mov dword [esp + 0x1c], 0xffffffff
call fcn.004d6713
add esp, 4
test eax, eax
jbe 0x431017
push esi
call fcn.004d6713
add esp, 4
cmp word [esi + eax*2 - 2], 0x29
jne 0x431017
push esi
call fcn.004d6713
add esp, 4
mov word [esi + eax*2 - 2], 0x7c
xor ebp, ebp
push esi
mov dword [esp + 0x14], ebp
xor ebx, ebx
call fcn.004d6713
add esp, 4
test eax, eax
jbe 0x431073
mov eax, dword [esp + 0x4e4]
lea edi, [esp + 0x298]
sub edi, eax
mov ax, word [esi]
cmp ax, 0x7c
je 0x431064
mov word [edi + esi], ax
mov eax, dword [esp + 0x4e4]
inc ebx
push eax
inc ebp
add esi, 2
call fcn.004d6713
add esp, 4
cmp ebp, eax
jb 0x43103c
jmp 0x43106f
mov word [esp + ebx*2 + 0x298], 0
inc ebp
mov dword [esp + 0x10], ebp
lea ecx, [esp + 0x298]
push 1
push ecx
call fcn.00454070
lea edx, [esp + 0x2a0]
push 0x598e58
push edx
call fcn.0051e2e0
xor ebp, ebp
add esp, 0x10
cmp eax, ebp
mov dword [esp + 0x28], eax
jne 0x4310da
cmp dword [esp + 0x4e8], ebp
jne 0x4310ca
mov ecx, dword [0x5b5574]
push 3
lea eax, [esp + 0x29c]
push ebp
push eax
push ebp
push 0x4e71
push ecx
call fcn.004cc7f0
add esp, 0x18
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x4d0
ret
lea edx, [esp + 0x3c]
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x38]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
push 0x5b9260
call fcn.004cac00
mov edi, dword [esp + 0x4f8]
mov dword [esp + 0x28], ebp
push edi
xor esi, esi
call fcn.004d6713
mov ebx, dword [esp + 0x28]
add esp, 0x18
cmp ebx, eax
jae 0x43131f
mov eax, dword [esp + 0x4ec]
mov dword [esp + 0x24], eax
mov ax, word [edi + ebx*2]
cmp ax, 0x7c
je 0x43113a
mov word [esp + esi*2 + 0x50], ax
inc esi
jmp 0x431309
lea ecx, [esp + 0x50]
xor edi, edi
push 1
push ecx
mov word [esp + esi*2 + 0x58], di
mov dword [esp + 0x40], edi
call fcn.00454070
mov eax, dword [esp + 0x44]
add esp, 8
cmp eax, edi
mov dword [esp + 0x1c], 1
je 0x431189
lea edx, [esp + 0x18]
lea eax, [esp + 0x50]
push edx
push eax
call fcn.004ccca0
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x58]
push ecx
push edx
call fcn.004a9740
add esp, 0x10
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], edi
test eax, eax
mov dword [esp + 0x20], edi
jle 0x4312f3
push 0
push 0
test edi, edi
jne 0x4311d1
push edi
push edi
push 1
push edi
push edi
push edi
push edi
lea eax, [esp + 0x68]
push edi
lea ecx, [esp + 0x70]
push eax
lea edx, [esp + 0x78]
push ecx
push edx
push edi
lea eax, [esp + 0x88]
push edi
push eax
call fcn.004a71a0
add esp, 0x40
jmp 0x4311e9
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x4c]
push ecx
push edi
lea eax, [esp + 0x60]
push edx
push eax
call fcn.004a9410
add esp, 0x18
mov esi, eax
test esi, esi
jne 0x431234
mov eax, dword [esp + 0x4e8]
test eax, eax
jne 0x43121e
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x43121e
mov edx, dword [0x5b5574]
push esi
lea ecx, [esp + 0x54]
push esi
push ecx
push esi
push 0x4e3
push edx
call fcn.004cc7f0
add esp, 0x18
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], 1
inc eax
mov dword [esp + 0x14], eax
jmp 0x4312de
mov eax, dword [esp + 0x4ec]
test eax, eax
je 0x431249
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x2c]
lea edi, [ebp + 1]
push eax
push ecx
push edi
push ebp
push esi
push edx
call fcn.00430b30
add esp, 0x1c
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esi, dword [esp + 0x4e8]
test esi, esi
jne 0x4312ad
mov eax, dword [esp + 0x4f0]
test eax, eax
je 0x4312ad
push eax
call fcn.004cb8e0
add esp, 4
push 0x7f02
push esi
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
test ebx, ebx
jne 0x4312d8
test esi, esi
jne 0x4312d2
mov ecx, dword [0x5b5574]
push 3
lea eax, [esp + 0x54]
push esi
push eax
push esi
push 0x520
push ecx
call fcn.004cc7f0
add esp, 0x18
inc dword [esp + 0x14]
jmp 0x4312da
mov ebp, edi
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, eax
mov dword [esp + 0x20], edi
jl 0x43119d
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x4e4]
add eax, 4
mov dword [esp + 0x24], eax
inc ebx
push edi
mov dword [esp + 0x14], ebx
call fcn.004d6713
add esp, 4
cmp ebx, eax
jb 0x431125
mov edx, dword [esp + 0x28]
push edx
call fcn.005259b0
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4d0
ret