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

Disassembly:
push 0xffffffffffffffff
push 0x482e6a
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49b470]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
lea edi, [esp + 0x18]
mov esi, ecx
call fcn.004309b0
add esp, 4
test eax, eax
je 0x43120b
mov eax, dword [0x4b5c38]
cmp eax, 0x10
je 0x430aba
cmp eax, 8
je 0x430aba
cmp eax, 0x20
jne 0x430ebf
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x48], vtable.CUBitBlt.0
mov dword [esp + 0x78], ebx
mov ecx, dword [0x4b5a34]
mov eax, dword [0x4b5e48]
mov edx, dword [ecx + eax*4]
mov ebp, dword [edx + 0x120]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov edx, dword [ecx + eax*4]
xor edi, edi
cmp byte [edx + 0x18], 1
mov dword [esp + 0x1c], edi
je 0x430b57
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x7c], 0xffffffff
call fcn.0040a990
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
cmp ebp, ebx
je 0x430df1
nop
cmp byte [ebp + 0x18], 3
je 0x430cfd
mov eax, dword [ecx + eax*4]
movsx esi, word [eax + 8]
movsx ecx, word [ebp + 8]
movsx ebx, word [eax + 0xa]
movsx edx, word [ebp + 0xa]
mov eax, dword [esp + 0x18]
add esi, ecx
add ebx, edx
cmp eax, esi
jl 0x430bba
cmp dword [esp + 0x14], ebx
jl 0x430bba
movsx ecx, word [ebp + 0xc]
lea edx, [ecx + esi - 1]
cmp eax, edx
jg 0x430bba
movsx eax, word [ebp + 0xe]
movsx ecx, byte [ebp + 0x13]
inc ecx
cdq
idiv ecx
lea edx, [eax + ebx - 1]
cmp dword [esp + 0x14], edx
jg 0x430bba
mov dword [esp + 0x1c], ebp
jmp 0x430cec
lea eax, [ebp + 0x38]
push str.automode
push eax
mov dword [esp + 0x28], 0
call fcn.0046e3d8
add esp, 8
test eax, eax
jne 0x430be5
cmp dword [0x4b41bc], 1
mov eax, 2
je 0x430be9
mov eax, dword [esp + 0x20]
push 1
push 3
push 2
push eax
push esi
push ebp
call fcn.0043f9f0
movsx eax, word [ebp + 0xe]
movsx ecx, byte [ebp + 0x13]
inc ecx
cdq
idiv ecx
movsx edx, word [ebp + 0xc]
add esp, 0x18
lea ecx, [esp + 0x48]
push eax
push edx
push ebx
push esi
push ebx
push esi
call fcn.0040a8a0
mov esi, dword [ebp + 0x108]
test esi, esi
je 0x430cf0
mov ecx, dword [0x4b5a34]
mov eax, dword [0x4b5e48]
mov eax, dword [ecx + eax*4]
movsx edi, word [eax + 8]
movsx edx, word [esi + 8]
movsx ebx, word [eax + 0xa]
movsx eax, word [esi + 0xa]
mov ecx, dword [0x4b3d38]
push ecx
movsx ecx, word [esi + 0xc]
add edi, edx
mov edx, dword [0x4b3d40]
add ebx, eax
movsx eax, word [esi + 0xe]
push edx
push ebx
push edi
push ebx
lea eax, [eax + ebx - 1]
lea ecx, [ecx + edi - 1]
push edi
call fcn.0042e6a0
movsx ecx, word [esi + 0xa]
movsx eax, word [esi + 0xe]
movsx edx, word [esi + 8]
add eax, ecx
movsx ecx, word [esi + 0xc]
add esp, 0x18
push eax
movsx eax, word [esi + 0xa]
add ecx, edx
push ecx
push eax
push edx
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.USER32.dll_SetRect]
movsx eax, word [esi + 0xe]
movsx ecx, word [esi + 0xc]
add eax, ebx
push eax
add ecx, edi
push ecx
push ebx
push edi
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [0x4b3d48]
lea ecx, [esp + 0x28]
push ecx
push edx
lea eax, [esp + 0x40]
call fcn.00430290
movsx eax, word [esi + 0xe]
movsx ecx, byte [esi + 0x13]
inc ecx
cdq
idiv ecx
movsx edx, word [esi + 0xc]
add esp, 8
lea ecx, [esp + 0x48]
push eax
push edx
push ebx
push edi
push ebx
push edi
call fcn.0040a8a0
mov edi, dword [esp + 0x1c]
mov ecx, dword [0x4b5a34]
mov eax, dword [0x4b5e48]
xor ebx, ebx
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x430b60
cmp edi, ebx
je 0x430df1
xor eax, eax
cmp byte [edi + 0x104], 2
lea ecx, [edi + 0x38]
sete al
push str.automode
push ecx
inc eax
mov ebp, eax
call fcn.0046e3d8
add esp, 8
test eax, eax
jne 0x430d40
cmp dword [0x4b41bc], 1
jne 0x430d40
lea ebp, [eax + 2]
mov edx, dword [0x4b5e48]
mov eax, dword [0x4b5a34]
mov eax, dword [eax + edx*4]
movsx esi, word [eax + 8]
movsx ecx, word [edi + 8]
movsx ebx, word [eax + 0xa]
movsx edx, word [edi + 0xa]
push 1
push 3
push 2
add esi, ecx
push ebp
push esi
add ebx, edx
push edi
call fcn.0043f9f0
movsx eax, word [edi + 0xe]
movsx ecx, byte [edi + 0x13]
inc ecx
cdq
idiv ecx
movsx edx, word [edi + 0xc]
add esp, 0x18
lea ecx, [esp + 0x48]
push eax
push edx
push ebx
push esi
push ebx
push esi
call fcn.0040a8a0
mov esi, dword [edi + 0x108]
test esi, esi
je 0x430def
mov eax, dword [0x4b5e48]
mov ecx, dword [0x4b5a34]
mov eax, dword [ecx + eax*4]
movsx edi, word [eax + 8]
movsx edx, word [esi + 8]
movsx ebx, word [eax + 0xa]
movsx eax, word [esi + 0xa]
push 1
push 3
push 0
add edi, edx
push 0
push edi
add ebx, eax
push esi
call fcn.0043f9f0
movsx eax, word [esi + 0xe]
movsx ecx, byte [esi + 0x13]
inc ecx
cdq
idiv ecx
movsx edx, word [esi + 0xc]
add esp, 0x18
lea ecx, [esp + 0x48]
push eax
push edx
push ebx
push edi
push ebx
push edi
call fcn.0040a8a0
xor ebx, ebx
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x7c], 0xffffffff
call fcn.0040a990
mov eax, dword [0x4b5c38]
cmp eax, 0x20
jne 0x430ec1
mov ecx, dword [0x4b5e48]
mov edx, dword [0x4b5a34]
mov ebp, dword [edx + ecx*4]
cmp byte [ebp + 0x18], 0
je 0x43120b
xor edx, edx
cmp dword [0x4b5e9c], ebx
jle 0x430e8b
jmp 0x430e40
mov ecx, dword [edx*4 + 0x4b5ea4]
movsx esi, word [ebp + 8]
movsx eax, word [ecx]
mov edi, dword [esp + 0x18]
add eax, esi
cmp eax, edi
movsx esi, word [ecx + 4]
lea esi, [esi + eax - 1]
jg 0x430e82
cmp esi, edi
jl 0x430e82
movsx eax, word [ecx + 2]
movsx esi, word [ebp + 0xa]
movsx ecx, word [ecx + 6]
add eax, esi
mov esi, dword [esp + 0x14]
cmp eax, esi
lea ecx, [ecx + eax - 1]
jg 0x430e82
cmp ecx, esi
jge 0x430e8e
inc edx
cmp edx, dword [0x4b5e9c]
jl 0x430e40
or edx, 0xffffffff
cmp dword [0x4b5ea0], edx
je 0x43120b
mov eax, dword [0x4b5ea0]
push ebx
push edx
push eax
push ebp
call fcn.0043b4e0
add esp, 0x10
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
xor ebx, ebx
cmp eax, 0x40
jne 0x431104
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.0045bc90
mov ecx, dword [0x4b5a3c]
add esp, 8
cmp dword [ecx], 0xffffffff
mov dword [esp + 0x1c], ebx
je 0x43120b
xor eax, eax
mov esi, dword [eax + ecx]
mov bl, byte [esi + 0x18]
cmp bl, 3
je 0x4310d3
movsx ecx, word [esi + 8]
mov eax, dword [esp + 0x18]
cmp eax, ecx
jl 0x430fec
movsx edi, word [esi + 0xa]
cmp dword [esp + 0x14], edi
jl 0x430fec
movsx edx, word [esi + 0xc]
lea edx, [edx + ecx - 1]
cmp eax, edx
jg 0x430fec
movsx eax, word [esi + 0xe]
movsx ebp, byte [esi + 0x13]
cdq
inc ebp
idiv ebp
lea eax, [eax + edi - 1]
cmp dword [esp + 0x14], eax
jg 0x430fec
cmp bl, 2
je 0x43120b
push 2
push 3
push 2
push 1
push ecx
push esi
mov ebx, edi
mov byte [esi + 0x18], 1
call fcn.0043f9f0
movsx ecx, word [esi + 0xa]
movsx edi, word [esi + 0x10e]
movsx edx, word [esi + 8]
mov eax, dword [0x4b3d38]
movsx ebx, word [esi + 0x10c]
lea ebp, [esi + 0x110]
add edi, ecx
movzx ecx, byte [0x4b3d87]
mov dword [esp + 0x38], eax
add esp, 0x18
mov eax, ebp
add ebx, edx
lea edx, [eax + 1]
mov dword [esp + 0x24], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x430fa2
sub eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
lea eax, [ecx + edi]
push eax
lea eax, [ecx + ebx]
mov ecx, dword [0x4b3d84]
and ecx, 0xffffff
push ecx
mov ecx, dword [edx + 0x4d0]
push ecx
mov ecx, ebp
call fcn.0040f4c0
mov eax, ebp
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x430fe0
jmp 0x43108e
cmp bl, 1
jne 0x4310d3
movsx ebx, word [esi + 0xa]
push 2
push 3
push 2
push 0
push ecx
push esi
mov byte [esi + 0x18], 0
call fcn.0043f9f0
movsx eax, word [esi + 0xa]
movsx edi, word [esi + 0x10e]
movsx ecx, word [esi + 8]
mov edx, dword [0x4b3d38]
movsx ebx, word [esi + 0x10c]
add edi, eax
lea ebp, [esi + 0x110]
mov eax, ebp
mov dword [esp + 0x38], edx
add esp, 0x18
lea edx, [eax + 1]
add ebx, ecx
movzx ecx, byte [0x4b3d87]
mov dword [esp + 0x24], edx
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x431050
sub eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
lea eax, [ecx + edi]
push eax
lea eax, [ecx + ebx]
mov ecx, dword [0x4b3d84]
and ecx, 0xffffff
push ecx
mov ecx, dword [edx + 0x4d0]
push ecx
mov ecx, ebp
call fcn.0040f4c0
mov eax, ebp
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x431087
mov edx, dword [0x4b3d80]
sub eax, ecx
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x4d0]
push edi
push edx
push ecx
mov ecx, ebp
mov eax, ebx
call fcn.0040f4c0
movsx eax, word [esi + 0xe]
movsx ebx, byte [esi + 0x13]
cdq
inc ebx
idiv ebx
movsx edx, word [esi + 0xc]
movsx ecx, word [esi + 0xa]
movsx edi, word [esi + 8]
push 0
push edx
push ecx
push edi
mov esi, ecx
mov ebx, eax
call fcn.004021f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x4b5a3c]
inc eax
mov dword [esp + 0x1c], eax
add eax, eax
add eax, eax
cmp dword [eax + ecx], 0xffffffff
jne 0x430ef1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
cmp eax, 0x80000000
jne 0x43120b
mov ecx, dword [0x4b5a54]
cmp ecx, ebx
je 0x4311f9
cmp dword [ecx], 0xffffffff
mov dword [esp + 0x1c], ebx
je 0x4311f9
xor esi, esi
lea esp, [esp]
mov ebx, dword [esi + ecx]
movsx eax, word [ebx + 8]
mov edx, dword [esp + 0x18]
cmp edx, eax
jle 0x431185
movsx eax, word [ebx + 0xa]
mov ebp, dword [esp + 0x14]
cmp ebp, eax
jle 0x431185
mov eax, ebx
movsx edi, word [eax + 0xc]
movsx eax, word [eax + 8]
add edi, eax
cmp edx, edi
jge 0x431185
mov edi, ebx
movsx edx, word [edi + 0xe]
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx edx, word [edi + 0xa]
add eax, edx
cmp ebp, eax
jge 0x431185
cmp byte [ebx + 0x18], 2
je 0x4311df
mov byte [ebx + 0x18], 1
jmp 0x431189
mov byte [ebx + 0x18], 0
mov eax, dword [esi + ecx]
movsx ecx, byte [eax + 0x18]
movsx edx, word [eax + 8]
movsx ebx, word [eax + 0xa]
push 1
push 3
push 2
push ecx
push edx
push eax
call fcn.0043f9f0
mov eax, dword [0x4b5a54]
mov ecx, dword [esi + eax]
movsx edx, word [ecx + 0xe]
movsx esi, word [ecx + 0xa]
movsx edi, word [ecx + 8]
movsx ecx, word [ecx + 0xc]
mov eax, 0x55555556
imul edx
add esp, 0x18
push 0
push ecx
mov ebx, edx
shr ebx, 0x1f
push esi
add ebx, edx
push edi
call fcn.004021f0
mov ecx, dword [0x4b5a54]
mov eax, dword [esp + 0x1c]
inc eax
lea esi, [eax*4]
cmp dword [esi + ecx], 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x431130
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push edx
push eax
call fcn.00432f70
add esp, 8
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret