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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov edx, dword [esi + 8]
push edi
mov edi, ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xc]
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call fcn.004152b0
mov eax, dword [edi + 0x70]
mov ebx, dword [ebp + 8]
cmp eax, 5
jne 0x47ce57
lea eax, [edi + 0x1bc]
push eax
call fcn.0041f170
test eax, eax
je 0x47d186
cmp dword [esi + 0x18], 0
je 0x47ce42
push 0
lea edx, [esp + 0x24]
push edx
push 3
push 1
mov ecx, ebx
call fcn.00410b40
push eax
lea ecx, [edi + 0x1bc]
call fcn.0041ee70
jmp 0x47d364
cmp dword [esi + 0x1c], 0
je 0x47d364
push 0
lea eax, [esp + 0x24]
push eax
push 2
jmp 0x47ce28
cmp eax, 6
jne 0x47cf09
lea eax, [edi + 0x1e0]
push eax
mov dword [esp + 0x14], eax
call fcn.0041f170
test eax, eax
je 0x47d186
cmp dword [esi + 0x14], 0x24f1
jne 0x47d186
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 0x18]
mov ecx, 1
cmp edx, ecx
jne 0x47cea5
test eax, eax
je 0x47ce9d
lea ecx, [eax - 0x54]
jmp 0x47ce9f
xor ecx, ecx
mov ecx, dword [ecx + 0x194]
cmp edx, 3
jne 0x47cebd
test eax, eax
je 0x47ceb5
add eax, 0xffffff08
jmp 0x47ceb7
xor eax, eax
mov ecx, dword [eax + 0xf0]
cmp dword [esi + 0x18], 0
je 0x47ceca
mov eax, 3
jmp 0x47cee5
cmp dword [esi + 0x1c], 0
je 0x47ced7
mov eax, 2
jmp 0x47cee5
xor eax, eax
test ecx, ecx
sete al
lea eax, [eax*4 + 1]
push 0
lea ecx, [esp + 0x24]
push ecx
push eax
push 0x13
mov ecx, ebx
call fcn.00410b40
mov ecx, dword [esp + 0x20]
push eax
call fcn.0041ee70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 3
jne 0x47d08a
lea eax, [edi + 0x1c8]
push eax
call fcn.0041f170
test eax, eax
je 0x47d186
mov eax, dword [esi + 0x14]
cmp eax, 0x24f1
je 0x47cf3b
cmp eax, 0x24f0
jne 0x47d093
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 0x18]
mov ecx, 1
cmp edx, ecx
jne 0x47cf5b
test eax, eax
je 0x47cf53
lea ecx, [eax - 0x54]
jmp 0x47cf55
xor ecx, ecx
mov ecx, dword [ecx + 0x194]
cmp edx, 3
jne 0x47cf73
test eax, eax
je 0x47cf6b
add eax, 0xffffff08
jmp 0x47cf6d
xor eax, eax
mov ecx, dword [eax + 0xf0]
xor edx, edx
cmp dword [edi + 0x24], edx
je 0x47cf83
cmp ecx, edx
je 0x47cf83
lea eax, [edx + 1]
jmp 0x47cf85
xor eax, eax
cmp dword [esi + 0x14], 0x24f1
jne 0x47cffb
cmp dword [esi + 0x18], edx
je 0x47cf9d
mov dword [esp + 0xc], 3
jmp 0x47cfb6
cmp eax, edx
jne 0x47cfae
mov dword [esp + 0xc], 1
cmp dword [esi + 0x1c], edx
je 0x47cfb6
mov dword [esp + 0xc], 2
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
cmp ebx, edx
jne 0x47cfdb
mov dword [esp + 0x10], edx
jmp 0x47cfe2
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], eax
push edx
lea ecx, [esp + 0x34]
call fcn.004139f0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push eax
push ecx
push 2
push edx
jmp 0x47d075
cmp dword [esi + 0x18], edx
je 0x47d00a
mov dword [esp + 0x10], 3
jmp 0x47d017
xor eax, eax
cmp dword [esi + 0x1c], edx
setne al
inc eax
mov dword [esp + 0x10], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], ecx
cmp ebx, edx
jne 0x47d043
mov dword [esp + 0xc], edx
jmp 0x47d04a
mov eax, dword [ebx + 4]
mov dword [esp + 0xc], eax
push edx
lea ecx, [esp + 0x34]
call fcn.004139f0
mov ecx, dword [esp + 0x18]
and cl, 2
movzx edx, cl
neg edx
sbb edx, edx
and edx, 0xfffffffd
push eax
mov eax, dword [esp + 0x14]
add edx, 3
add edx, dword [esp + 0x18]
push edx
push 3
push eax
lea ecx, [edi + 0x1c8]
call fcn.0041ee70
test eax, eax
jge 0x47d37d
jmp 0x47d093
cmp eax, 4
jne 0x47d13c
lea eax, [edi + 0x1d4]
push eax
call fcn.0041f170
test eax, eax
je 0x47d186
cmp dword [esi + 0x18], 0
je 0x47d0b7
mov dword [esp + 0xc], 3
jmp 0x47d0cd
xor eax, eax
cmp dword [esi + 0x1c], eax
setne al
inc eax
mov dword [esp + 0xc], eax
cmp eax, 1
je 0x47d364
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
test ebx, ebx
jne 0x47d0f2
mov dword [esp + 0x10], ebx
jmp 0x47d0f9
mov edx, dword [ebx + 4]
mov dword [esp + 0x10], edx
push 0
lea ecx, [esp + 0x34]
call fcn.004139f0
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push eax
push 1
push ecx
lea ecx, [edi + 0x1d4]
call fcn.0041ee70
mov eax, dword [esp + 0xc]
lea edx, [ebp + 0x10]
push edx
push 0xedb
push eax
push 1
lea ecx, [edi + 0x1d4]
call fcn.0041f010
jmp 0x47d364
test eax, eax
jne 0x47d181
mov ecx, dword [esi + 0x18]
mov eax, dword [ebx + 4]
neg ecx
sbb ecx, ecx
and ecx, 0x200
or ecx, 0x2010
push ecx
push 4
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.USER32.dll_DrawFrameControl]
cmp dword [esi + 0x18], 0
je 0x47d364
mov eax, 1
add dword [esp + 0x18], eax
add dword [esp + 0x1c], eax
jmp 0x47d364
cmp eax, 1
jne 0x47d1eb
cmp dword [esi + 0x18], 0
je 0x47d1bd
mov eax, dword [edi + 0xf4]
mov ecx, dword [edi + 0xec]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.004139f0
push eax
mov ecx, ebx
call fcn.004fc02c
mov eax, 1
add dword [esp + 0x18], eax
add dword [esp + 0x1c], eax
jmp 0x47d364
cmp dword [esi + 0x1c], 0
je 0x47d364
mov eax, dword [edi + 0xec]
mov ecx, dword [edi + 0xf4]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.004139f0
push eax
mov ecx, ebx
call fcn.004fc02c
jmp 0x47d364
cmp eax, 2
jne 0x47d364
cmp dword [esi + 0x1c], 0
je 0x47d2ac
cmp dword [edi + 0x1ec], 0
jne 0x47d263
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x120]
mov dword [esp + 0x3c], ecx
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x38], edx
call fcn.004139f0
push eax
mov ecx, ebx
call fcn.004fbc94
mov eax, dword [edi + 0x124]
push eax
push eax
lea ecx, [esp + 0x38]
call fcn.004139f0
push eax
mov ecx, ebx
call fcn.004fc02c
mov edx, dword [edi + 0x158]
mov dword [ebp + 0x10], edx
jmp 0x47d2ac
push 0
push 0x97d4ff
lea ecx, [esp + 0x28]
call fcn.004139f0
mov ebx, eax
call fcn.0043fdc0
mov ecx, ebx
mov ebx, dword [ebp + 8]
push eax
mov eax, 0xc8f2ff
mov edx, ebx
call fcn.00440020
mov eax, dword [edi + 0x124]
push eax
push eax
lea ecx, [esp + 0x28]
call fcn.004139f0
push eax
mov ecx, ebx
call fcn.004fc02c
mov dword [ebp + 0x10], 0
cmp dword [esi + 0x18], 0
je 0x47d364
cmp dword [edi + 0x1ec], 0
jne 0x47d31b
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x128]
mov dword [esp + 0x34], ecx
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x3c], edx
call fcn.004139f0
push eax
mov ecx, ebx
call fcn.004fbc94
mov eax, dword [edi + 0x124]
push eax
push eax
lea ecx, [esp + 0x38]
call fcn.004139f0
push eax
mov ecx, ebx
call fcn.004fc02c
mov ecx, dword [edi + 0x160]
mov dword [ebp + 0x10], ecx
jmp 0x47d364
push 0
push 0x8bcfff
lea ecx, [esp + 0x28]
call fcn.004139f0
mov ebx, eax
call fcn.0043fdc0
mov ecx, ebx
mov ebx, dword [ebp + 8]
push eax
mov eax, 0x4b8efe
mov edx, ebx
call fcn.00440020
mov eax, dword [edi + 0x124]
push eax
push eax
lea ecx, [esp + 0x28]
call fcn.004139f0
push eax
mov ecx, ebx
call fcn.004fc02c
mov dword [ebp + 0x10], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi]
mov edx, dword [edx + 0x78]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push eax
push esi
push ebx
mov ecx, edi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc