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

Disassembly:
push 0xffffffffffffffff
push 0x546e8c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x78], ebp
mov eax, dword [ebp + 0x5c]
cmp dword [eax + 0x2d8], 1
je 0x4b20f8
mov ecx, dword [eax + 0x2d4]
xor esi, esi
cmp ecx, esi
jne 0x4b20f8
lea ecx, [esp + 0x34]
call fcn.004733a0
mov eax, dword [ebp + 0xc8]
mov dword [esp + 0x174], esi
mov ecx, eax
mov dword [esp + 0x54], esi
shr ecx, 2
cmp ecx, 2
jl 0x4b0e05
mov edx, dword [esp + 0x17c]
mov esi, dword [esp + 0x180]
test esi, esi
mov cl, byte [edx]
je 0x4b0cf2
test cl, cl
je 0x4b0cf2
mov bl, byte [edx + 1]
test bl, bl
jne 0x4b0cf2
cmp cl, 8
je 0x4b0ce6
cmp cl, 1
jne 0x4b0cf2
mov ecx, ebp
call fcn.004a8450
jmp 0x4b20dc
mov ecx, dword [ebp + 0x7c]
mov edx, dword [ebp + 0x78]
mov esi, dword [ebp + 0x74]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0xc8]
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0x80]
test ecx, ecx
mov dword [esp + 0x50], edx
jne 0x4b0d1b
xor edx, edx
jmp 0x4b0d21
mov edx, dword [ebp + 0xc0]
shr eax, 3
xor edi, edi
xor ebx, ebx
test eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x14], esi
jle 0x4b0d69
mov ecx, dword [edx]
mov eax, dword [esp + 0x14]
cmp eax, ecx
jl 0x4b0d42
mov dword [esp + 0x14], ecx
cmp esi, ecx
jl 0x4b0d4b
cmp esi, dword [edx + 4]
jle 0x4b0d66
mov eax, dword [edx + 4]
cmp esi, eax
jle 0x4b0d58
sub eax, ecx
lea edi, [edi + eax + 1]
mov eax, dword [esp + 0x4c]
add edx, 8
inc ebx
cmp ebx, eax
jl 0x4b0d34
jmp 0x4b0d69
or esi, 0xffffffff
mov ecx, ebp
call fcn.004a8450
push 0
push 0
lea eax, [esp + 0x3c]
push 0
push eax
mov ecx, ebp
call fcn.0047ced0
cmp esi, 0xffffffff
push 0
push 0
je 0x4b0dd4
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x3c]
push ecx
sub esi, edi
push edx
push esi
mov ecx, ebp
call fcn.004a5a50
mov esi, dword [esp + 0x50]
lea eax, [esp + 0x34]
push 1
push eax
push 1
push esi
mov ecx, ebp
call fcn.004969f0
mov eax, dword [esp + 0x18]
cmp eax, esi
jne 0x4b0dc7
mov ecx, dword [ebp + 0x80]
mov dword [ebp + 0x7c], ecx
jmp 0x4b0e05
mov dword [ebp + 0x7c], eax
mov dword [esp + 0x54], 1
jmp 0x4b0e05
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x3c]
push edx
push 0
push eax
mov ecx, ebp
call fcn.004a5a50
lea ecx, [esp + 0x34]
push 0
push ecx
push 0
push 0
mov ecx, ebp
call fcn.004969f0
lea edx, [esp + 0x34]
mov ecx, ebp
push edx
call fcn.004affe0
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4b0e1f
push 0
push 0
lea eax, [esp + 0x3c]
push 0
push eax
mov ecx, ebp
call fcn.0047ced0
mov ecx, dword [0x596a5c]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x34]
lea eax, [esp + 0x58]
push edx
mov edx, dword [ebp + 0x78]
push eax
mov eax, dword [ebp + 0x74]
lea ecx, [esp + 0x18]
push 0
push ecx
push edx
push eax
mov ecx, ebp
mov byte [esp + 0x18c], 1
call fcn.00496610
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x4c], ebx
je 0x4b20cb
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4b0e81
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x58]
mov eax, dword [ebp + 0x7c]
push 1
push ecx
push edx
push eax
mov ecx, ebp
call fcn.00496b50
mov dword [ebp + 0x7c], eax
mov eax, dword [ebx + 4]
test eax, eax
mov eax, dword [esp + 0x180]
je 0x4b0eb5
test eax, eax
je 0x4b2084
mov ecx, dword [esp + 0x17c]
cmp byte [ecx], 0xd
jne 0x4b2084
push 1
mov ecx, ebp
call fcn.004851b0
jmp 0x4b20cb
mov edi, dword [esp + 0x17c]
test eax, eax
je 0x4b0ec5
cmp byte [edi], 0xd
je 0x4b0ed5
push ebx
mov ecx, ebp
call fcn.004b0930
test eax, eax
je 0x4b20cb
mov ecx, dword [esp + 0x58]
test ecx, ecx
jle 0x4b0f18
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
sub eax, ecx
lea ecx, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00515fac
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x178], 2
call fcn.00519af3
lea ecx, [esp + 0x20]
mov byte [esp + 0x174], 1
call fcn.00519a06
mov ecx, ebx
call fcn.00495f90
mov edx, dword [ebx]
xor ecx, ecx
cmp eax, 0xd
push edx
sete cl
mov esi, ecx
mov dword [esp + 0x34], esi
call fcn.004a9fc0
mov ecx, dword [0x599b2c]
add esp, 4
test ecx, ecx
mov dword [esp + 0x24], eax
je 0x4b0f7a
cmp byte [edi], 0x20
jne 0x4b0f7a
mov cl, byte [edi + 1]
test cl, cl
jne 0x4b0f7a
mov ecx, dword [esp + 0x180]
test ecx, ecx
je 0x4b0f7a
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx - 8]
test edx, edx
jne 0x4b0f7a
cmp eax, 1
je 0x4b20cb
cmp eax, 5
je 0x4b20cb
mov dword [esp + 0x90], 0
mov edx, dword [ebx + 8]
mov dword [esp + 0x84], edx
mov eax, dword [ebx]
test esi, esi
mov dword [esp + 0x8c], eax
je 0x4b0fee
mov edi, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x28]
mov dword [esp + 0x20], ecx
mov eax, dword [edi + 0x64]
test eax, eax
jne 0x4b0fb1
xor eax, eax
jmp 0x4b0fb4
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x88], eax
mov ecx, dword [edi + 0xc8]
test ecx, ecx
jne 0x4b0fd9
xor ecx, ecx
mov ecx, eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 8]
mov dword [esp + 0x54], ecx
jmp 0x4b0ffd
mov ecx, dword [edi + 0xc0]
add ecx, eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 8]
mov dword [esp + 0x54], ecx
jmp 0x4b0ffd
mov edi, dword [esp + 0x24]
mov dword [esp + 0x88], 0
mov edx, dword [esp + 0x58]
lea eax, [esp + 0x80]
push edx
lea ecx, [esp + 0x80]
push eax
push ecx
mov ecx, ebp
call fcn.004ad8e0
test eax, eax
je 0x4b10cd
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x80]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
sub eax, esi
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00515fac
mov esi, eax
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x17c], 3
call fcn.00516028
push esi
push eax
lea eax, [esp + 0x58]
mov bl, 4
push eax
mov byte [esp + 0x180], bl
call fcn.00519be9
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x178], 5
call fcn.00519af3
lea ecx, [esp + 0x50]
mov byte [esp + 0x174], bl
call fcn.00519a06
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 3
call fcn.00519a06
lea ecx, [esp + 0x5c]
mov byte [esp + 0x174], 1
call fcn.00519a06
mov esi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x4c]
mov ecx, 1
mov dword [esp + 0x18], 0
jmp 0x4b10e6
mov esi, dword [ebp + 0x80]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x180]
sub esi, eax
xor ecx, ecx
mov dword [esp + 0x18], edx
test esi, esi
jge 0x4b10ee
xor esi, esi
jmp 0x4b10fb
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 8]
cmp esi, eax
jle 0x4b10fb
mov esi, eax
mov eax, dword [esp + 0x180]
test eax, eax
je 0x4b1f70
mov edx, dword [esp + 0x17c]
mov dl, byte [edx]
test dl, dl
je 0x4b1f70
mov eax, dword [esp + 0x17c]
mov ax, word [eax]
cmp ax, 1
je 0x4b1c64
cmp ax, 8
je 0x4b1c64
cmp ax, 0xd
jne 0x4b1c56
mov ecx, ebx
call fcn.00495f90
cmp eax, 0xd
jne 0x4b1bca
test esi, esi
jne 0x4b117f
push esi
mov ecx, ebp
call fcn.004851b0
mov ecx, dword [ebp + 0x74]
push esi
push 1
push esi
inc ecx
push esi
push ecx
mov ecx, ebp
call fcn.004a5a50
push esi
push esi
push esi
mov ecx, ebp
call fcn.004a6480
jmp 0x4b20cb
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
sub eax, esi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00515fac
lea ecx, [esp + 0x20]
push esi
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x17c], 9
call fcn.00516028
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x178], 0xa
call fcn.00519af3
lea ecx, [esp + 0x20]
mov byte [esp + 0x174], 9
call fcn.00519a06
lea ecx, [esp + 0x11c]
call fcn.004733a0
mov esi, 0x54d910
mov dword [esp + 0x11c], esi
lea ecx, [esp + 0x144]
mov byte [esp + 0x174], 0xb
call fcn.005185f1
lea ecx, [esp + 0x158]
mov byte [esp + 0x174], 0xc
call fcn.005185f1
lea ecx, [esp + 0x130]
mov byte [esp + 0x174], 0xd
call fcn.004733a0
mov dword [esp + 0x130], esi
mov edx, dword [0x596a5c]
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x18]
mov byte [esp + 0x174], 0xf
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4b1256
mov eax, dword [0x599a30]
test eax, eax
je 0x4b1256
xor esi, esi
jmp 0x4b125b
mov esi, 1
mov edi, dword [ebx + 0x2c]
mov dword [0x59a518], 0
mov eax, dword [edi + 0x64]
test eax, eax
jne 0x4b1273
xor eax, eax
jmp 0x4b1276
mov eax, dword [edi + 0x5c]
mov ecx, dword [ebx + 0x28]
lea edx, [esp + 0x5c]
push edx
lea edx, [esp + 0x134]
mov eax, dword [eax + ecx*4]
lea ecx, [esp + 0x15c]
push ecx
push edx
lea ecx, [esp + 0x150]
lea edx, [esp + 0x128]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push esi
push ecx
push eax
push edi
push 0
call fcn.004afa80
add esp, 0x28
test eax, eax
jne 0x4b12c3
test esi, esi
mov dword [esp + 0x6c], 1
je 0x4b12cb
mov dword [esp + 0x6c], 0
mov edx, dword [0x59a518]
mov eax, dword [0x596a5c]
xor ebx, ebx
mov dword [esp + 0x24], edx
mov dword [0x59a518], ebx
mov byte [esp + 0x64], 1
mov dword [esp + 0x65], ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x12c]
mov byte [esp + 0x174], 0x10
shr eax, 2
dec eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x70], ebx
js 0x4b19f9
mov edx, dword [esp + 0x148]
mov ecx, dword [esp + 0x124]
mov ebp, dword [ecx + ebx*4]
lea eax, [edx + ebx*4]
push eax
lea ecx, [esp + 0x18]
call fcn.00519af3
push ebp
call fcn.004d25c0
add esp, 4
cmp eax, 0x4000000
je 0x4b1805
cmp eax, 0x5000000
je 0x4b147e
cmp eax, 0x8000000
jne 0x4b1999
mov esi, dword [edi + 0xcc]
lea ecx, [esp + 0xa4]
call fcn.004733a0
mov dword [esp + 0xb8], esi
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0x54d938
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x4b]
push 1
push ecx
push 0
push edx
push ebp
lea ecx, [esp + 0xb0]
mov byte [esp + 0x188], 0x21
mov byte [esp + 0x5f], 0x16
call fcn.004c7930
mov eax, dword [edi + 0xcc]
push 1
lea ecx, [esp + 0xa0]
push 0
mov eax, dword [eax + 0x264]
push ecx
push eax
push 0x133
mov ecx, 0x599b30
call fcn.004eb420
mov eax, dword [edi + 0xcc]
push 1
lea edx, [esp + 0xa0]
push 0
mov ecx, dword [eax + 0x264]
push edx
push ecx
lea ecx, [eax + 0x260]
call fcn.004c6220
mov eax, dword [esp + 0x15c]
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b1428
push 1
push eax
push ebp
call fcn.004edac0
add esp, 0xc
mov dword [esp + 0x20], 1
mov dword [esp + 0x9c], 0x54d7d4
lea ecx, [esp + 0xa4]
mov byte [esp + 0x174], 0x22
mov dword [esp + 0xa0], 0
call fcn.004735a0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x174], 0x10
mov dword [esp + 0xa4], 0x54d7d0
call fcn.004735a0
jmp 0x4b1999
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x70]
push ebp
mov ebx, dword [ecx + edx*4]
mov esi, ebx
and ebx, 0xdfffffff
shr esi, 0x1d
and esi, 1
call fcn.004d25a0
add esp, 4
test eax, eax
je 0x4b16fd
cmp eax, 0x10000000
je 0x4b15c3
cmp eax, 0x20000000
jne 0x4b1999
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0x18]
inc ecx
test eax, eax
mov dword [esp + 0x1c], ecx
jne 0x4b14d8
mov eax, ecx
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0xcc]
lea ecx, [esp + 0xc4]
mov dword [esp + 0x28], eax
call fcn.004733a0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xbc], 0x54d958
dec esi
mov eax, dword [esp + 0x14]
neg esi
sbb esi, esi
lea edx, [esp + 0x64]
not esi
and esi, edx
lea ecx, [esp + 0xbc]
push esi
push 0
push ebx
push ebp
push 0
push eax
mov byte [esp + 0x18c], 0x15
call fcn.004c7f10
mov eax, dword [edi + 0x18]
mov edx, dword [esp + 0x54]
push 0
push 1
lea ecx, [esp + 0xc4]
push 0
push ecx
push eax
push edx
mov ecx, 0x599b30
call fcn.004eb2e0
mov eax, dword [edi + 0x18]
push 1
lea ecx, [esp + 0xc0]
push 0
push ecx
push eax
lea ecx, [edi + 0x14]
call fcn.004c6220
mov dword [esp + 0xbc], 0x54d7d4
lea ecx, [esp + 0xc4]
mov byte [esp + 0x174], 0x16
mov dword [esp + 0xc0], 0
call fcn.004735a0
lea ecx, [esp + 0xc4]
mov byte [esp + 0x174], 0x10
mov dword [esp + 0xc4], 0x54d7d0
call fcn.004735a0
jmp 0x4b1999
mov eax, dword [edi + 8]
test eax, eax
je 0x4b1999
mov ecx, dword [edi + 0xcc]
lea edx, [esp + 0x74]
push 0
push edx
push eax
add ecx, 0x20c
call fcn.004d2e80
cmp eax, 1
jne 0x4b1999
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x1c]
inc edx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x1c], edx
test ecx, ecx
jne 0x4b160b
mov eax, edx
inc eax
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 0xcc]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x104]
call fcn.004733a0
mov edx, dword [esp + 0x28]
mov dword [esp + 0x100], 0
mov dword [esp + 0x118], edx
mov dword [esp + 0xfc], 0x54d958
dec esi
mov ecx, dword [esp + 0x14]
neg esi
sbb esi, esi
lea eax, [esp + 0x64]
not esi
and esi, eax
mov byte [esp + 0x174], 0x13
push esi
push 0
push ebx
push ebp
push 0
push ecx
lea ecx, [esp + 0x114]
call fcn.004c7f10
mov edx, dword [esp + 0x74]
push 0
push 1
lea ecx, [esp + 0x104]
mov eax, dword [edx + 0x10]
mov edx, dword [edi + 8]
push 0
push ecx
push eax
push edx
mov ecx, 0x599b30
call fcn.004eb2e0
mov eax, dword [esp + 0x74]
push 1
lea edx, [esp + 0x100]
push 0
mov ecx, dword [eax + 0x10]
push edx
push ecx
lea ecx, [eax + 0xc]
call fcn.004c6220
mov dword [esp + 0xfc], 0x54d7d4
lea ecx, [esp + 0x104]
mov byte [esp + 0x174], 0x14
mov dword [esp + 0x100], 0
call fcn.004735a0
lea ecx, [esp + 0x104]
mov byte [esp + 0x174], 0x10
mov dword [esp + 0x104], 0x54d7d0
call fcn.004735a0
jmp 0x4b1999
mov eax, dword [edi + 0xcc]
lea ecx, [esp + 0xe4]
mov dword [esp + 0x28], eax
call fcn.004733a0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xe0], 0
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xdc], 0x54d958
dec esi
mov eax, dword [esp + 0x14]
neg esi
sbb esi, esi
lea edx, [esp + 0x64]
not esi
and esi, edx
lea ecx, [esp + 0xdc]
push esi
push 0
push ebx
push ebp
push 0
push eax
mov byte [esp + 0x18c], 0x11
call fcn.004c7f10
mov ecx, dword [edi + 0xcc]
mov esi, 1
push 0
push esi
mov eax, dword [ecx + 0x1d4]
lea edx, [esp + 0xe4]
push 0
push edx
push eax
push 0
mov ecx, 0x599b30
call fcn.004eb2e0
mov eax, dword [edi + 0xcc]
push esi
lea edx, [esp + 0xe0]
push 0
mov ecx, dword [eax + 0x1d4]
push edx
push ecx
lea ecx, [eax + 0x1d0]
call fcn.004c6220
mov dword [esp + 0xdc], 0x54d7d4
lea ecx, [esp + 0xe4]
mov byte [esp + 0x174], 0x12
mov dword [esp + 0xe0], 0
call fcn.004735a0
lea ecx, [esp + 0xe4]
mov byte [esp + 0x174], 0x10
mov dword [esp + 0xe4], 0x54d7d0
call fcn.004735a0
mov dword [esp + 0x50], esi
mov dword [esp + 0x60], esi
jmp 0x4b1999
mov eax, dword [esp + 0x138]
mov ebx, dword [eax + ebx*4]
test ebx, ebx
mov dword [esp + 0x28], ebx
je 0x4b1999
lea ecx, [esp + 0x2c]
push 0
push ecx
mov ecx, dword [edi + 0xcc]
push ebx
add ecx, 0x20c
call fcn.004d2e80
cmp eax, 1
jne 0x4b1999
push 0xd0
call fcn.0051a8b5
mov esi, eax
add esp, 4
mov dword [esp + 0x60], esi
test esi, esi
je 0x4b1930
mov edx, dword [0x596a5c]
mov ebx, dword [edi + 0xcc]
mov dword [esi], edx
mov eax, dword [0x596a5c]
mov dword [esi + 4], eax
lea ecx, [esi + 0x1c]
mov byte [esp + 0x174], 0x19
call fcn.004733a0
mov dword [esi + 0x30], ebx
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0x54d958
lea ecx, [esi + 0x3c]
mov byte [esp + 0x174], 0x1a
call fcn.004733a0
mov dword [esi + 0x50], ebx
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0x54d958
lea ecx, [esi + 0x54]
mov byte [esp + 0x174], 0x1b
call fcn.004733a0
lea ecx, [esi + 0x68]
mov byte [esp + 0x174], 0x1c
call fcn.004733a0
lea ecx, [esi + 0x7c]
mov byte [esp + 0x174], 0x1d
call fcn.004733a0
lea ecx, [esi + 0x90]
mov byte [esp + 0x174], 0x1e
call fcn.004733a0
lea ecx, [esi + 0xa4]
mov byte [esp + 0x174], 0x1f
call fcn.004733a0
lea ecx, [esi + 0xb8]
mov byte [esp + 0x174], 0x20
call fcn.004733a0
xor eax, eax
mov dword [esi + 0xcc], ebx
mov ebx, dword [esp + 0x28]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 8], eax
jmp 0x4b1932
xor esi, esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], 0x10
push ecx
mov ecx, esi
call fcn.00519af3
push 0
push 0
mov ecx, esi
mov dword [esi + 8], ebx
call fcn.004cd010
mov ecx, dword [edi + 0xcc]
push esi
push ebp
add ecx, 0x1f0
call fcn.004c6ec0
mov edx, dword [esp + 0x2c]
push ebp
lea ecx, [edx + 0x2c]
call fcn.00473660
mov ecx, dword [edi + 0xcc]
push ebp
mov eax, dword [ecx + 0x208]
shr eax, 3
dec eax
push eax
push ecx
mov ecx, 0x599b30
call fcn.004ea190
mov dword [esp + 0x60], 1
mov ebx, dword [esp + 0x70]
mov eax, dword [esp + 0x30]
inc ebx
cmp ebx, eax
mov dword [esp + 0x70], ebx
jle 0x4b1320
mov eax, dword [esp + 0x50]
mov esi, 1
cmp eax, esi
jne 0x4b19cd
push 0
push 0
push 0
push 3
mov ecx, 0x599b30
call fcn.00408300
cmp dword [esp + 0x20], esi
jne 0x4b19e5
push 0
push 0
push 0
push 6
mov ecx, 0x599b30
call fcn.00408300
cmp dword [esp + 0x60], esi
jne 0x4b19f5
mov ecx, 0x599b30
call fcn.00458090
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x1c]
mov ebx, dword [ebp + 0x74]
test esi, esi
jle 0x4b1a24
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0xdc]
mov ecx, dword [ebp + 0x74]
push 0
push 1
push 0
add ecx, esi
push 0
push ecx
mov ecx, ebp
call fcn.004a5a50
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x4b1ad4
mov eax, dword [edi + 0xc8]
test eax, eax
jne 0x4b1a3e
xor ecx, ecx
jmp 0x4b1a44
mov ecx, dword [edi + 0xc0]
mov eax, dword [edi + 0x64]
test eax, eax
jne 0x4b1a4f
xor eax, eax
jmp 0x4b1a52
mov eax, dword [edi + 0x5c]
mov edx, dword [esp + 0x4c]
mov edx, dword [edx + 0x28]
mov eax, dword [eax + edx*4]
lea esi, [eax + ecx]
mov ecx, edi
push esi
call fcn.004cd2f0
cmp eax, 1
jne 0x4b1ab6
inc esi
mov ecx, esi
call fcn.004ca570
add esi, eax
mov eax, dword [edi + 0xc8]
test eax, eax
jne 0x4b1a84
xor eax, eax
jmp 0x4b1a8a
mov eax, dword [edi + 0xc0]
mov edi, dword [edi + 0xc8]
add edi, eax
cmp esi, edi
jae 0x4b1ab6
cmp byte [esi], 0x6a
jne 0x4b1ab6
lea ecx, [esi + 1]
call fcn.004ca380
test eax, eax
je 0x4b1ab6
mov eax, dword [ebp + 0x74]
push 0
push 1
push 0
inc eax
push 0
push eax
jmp 0x4b1acd
push 1
mov ecx, ebp
call fcn.004851b0
test eax, eax
jne 0x4b1ad4
mov ecx, dword [ebp + 0x74]
push eax
push 1
push eax
inc ecx
push eax
push ecx
mov ecx, ebp
call fcn.004a5a50
cmp dword [ebp + 0x74], ebx
je 0x4b1ae6
push 0
push 0
push 0
mov ecx, ebp
call fcn.004a6480
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b1afd
push 0
push eax
mov ecx, ebp
call fcn.004b0c50
jmp 0x4b1b32
push 1
push 0
mov ecx, ebp
call fcn.004a9910
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4b1b32
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4b1b32
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b1b32
push 0x30
push 0x591f74
push eax
mov ecx, ebp
call fcn.0051cb19
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], 0xf
call fcn.00519a06
lea ecx, [esp + 0x5c]
mov byte [esp + 0x174], 0xe
call fcn.00519a06
mov esi, 0x54d7d0
lea ecx, [esp + 0x130]
mov byte [esp + 0x174], 0xd
mov dword [esp + 0x130], esi
call fcn.004735a0
lea ecx, [esp + 0x158]
mov byte [esp + 0x174], 0xc
call fcn.00518624
lea ecx, [esp + 0x144]
mov byte [esp + 0x174], 0xb
call fcn.00518624
lea ecx, [esp + 0x11c]
mov byte [esp + 0x174], 9
mov dword [esp + 0x11c], esi
call fcn.004735a0
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 1
call fcn.00519a06
jmp 0x4b1c31
cmp dword [esp + 0x24], 1
jne 0x4b1bde
lea edx, [esp + 0x10]
push edx
call fcn.004afa10
add esp, 4
lea eax, [esp + 0x30]
push 0
push eax
mov eax, dword [ebp + 0x74]
push 0
lea ecx, [esp + 0x30]
push 0
lea edx, [esp + 0x3c]
push ecx
push edx
push 0
push 0
push eax
mov ecx, ebp
call fcn.0047e8a0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push 1
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [ebx]
push eax
push ecx
mov ecx, dword [ebp + 0x5c]
push edx
call fcn.004af660
push 1
mov ecx, ebp
call fcn.004851b0
mov esi, 0x54d7d0
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 0
call fcn.00519a06
mov dword [esp + 0x174], 0xffffffff
mov dword [esp + 0x34], esi
jmp 0x4b20ef
cmp dl, 0x20
jae 0x4b1f70
jmp 0x4b20cb
test ecx, ecx
jne 0x4b1f65
xor ebx, ebx
cmp dl, 1
sete bl
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x4b1c8c
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp esi, eax
sete cl
mov eax, ecx
jmp 0x4b1c97
mov edx, dword [esp + 0x10]
xor eax, eax
test esi, esi
sete al
test eax, eax
je 0x4b1e63
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4b20cb
mov edx, dword [esp + 0x2c]
mov ecx, edi
push edx
call fcn.004cd2f0
mov esi, eax
mov eax, dword [ebp + 0x74]
and esi, 0xff
shr esi, 1
and esi, 1
test ebx, ebx
je 0x4b1cce
inc eax
jmp 0x4b1cd7
test eax, eax
jle 0x4b20cb
dec eax
push 0
push 0
push 0
lea ecx, [esp + 0x24]
push 0
lea edx, [esp + 0x34]
push ecx
push edx
push 0
push 0
push eax
mov ecx, ebp
mov dword [esp + 0x40], eax
call fcn.0047e8a0
cmp eax, 0xd
jne 0x4b20cb
cmp dword [esp + 0x24], edi
jne 0x4b20cb
mov eax, dword [edi + 0x64]
test eax, eax
jne 0x4b1d17
xor eax, eax
jmp 0x4b1d1a
mov eax, dword [edi + 0x5c]
mov ecx, dword [esp + 0x18]
mov ebx, dword [eax + ecx*4]
mov eax, dword [edi + 0xc8]
test eax, eax
jne 0x4b1d2f
xor eax, eax
jmp 0x4b1d35
mov eax, dword [edi + 0xc0]
add eax, ebx
mov ecx, edi
push eax
call fcn.004cd2f0
shr eax, 1
and eax, 1
cmp esi, eax
je 0x4b1d5e
cmp esi, 1
je 0x4b20cb
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
jmp 0x4b1cc7
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
test eax, eax
jne 0x4b1d6e
mov esi, dword [esp + 0x18]
mov eax, dword [edi + 0xc8]
test eax, eax
jne 0x4b1d7c
xor ecx, ecx
jmp 0x4b1d82
mov ecx, dword [edi + 0xc0]
mov eax, dword [edi + 0x64]
test eax, eax
jne 0x4b1d8d
xor eax, eax
jmp 0x4b1d90
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + esi*4]
cmp byte [eax + ecx], 0x6a
jne 0x4b1de8
lea ecx, [eax + ecx + 1]
call fcn.004ca380
test eax, eax
je 0x4b1de8
mov edx, dword [esp + 0x54]
push esi
push esi
push edi
push edx
call fcn.004af1c0
mov eax, dword [esp + 0x24]
add esp, 0x10
test eax, eax
jne 0x4b20c0
mov eax, dword [esp + 0x1c]
push 0
push 1
push 0
push 0
push eax
mov ecx, ebp
call fcn.004a5a50
push 0
push 0
push 0
mov ecx, ebp
call fcn.004a6480
jmp 0x4b20c0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4b1e03
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
mov ecx, edi
call fcn.004cb770
jmp 0x4b1e40
mov eax, dword [esp + 0x1c]
push 0
lea edx, [esp + 0x38]
push 1
push edx
push 0
push eax
mov ecx, ebp
call fcn.004a5a50
push 0
push 0
push 0
mov ecx, ebp
call fcn.004a6480
lea ecx, [esp + 0x34]
push 1
push ecx
push 0
push 0x7fffffff
mov ecx, ebp
call fcn.004969f0
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x54]
push esi
push esi
push edi
push edx
call fcn.004af1c0
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, ebp
push 0
push eax
call fcn.004b0c50
jmp 0x4b20cb
test ebx, ebx
je 0x4b1e6c
lea eax, [esi + edx]
jmp 0x4b1e9f
mov cl, byte [edx]
mov eax, edx
xor edi, edi
and cl, 0x80
je 0x4b1e78
inc edi
inc edi
cmp edi, esi
jge 0x4b1e9b
test cl, cl
je 0x4b1e8d
mov cl, byte [eax + 1]
inc eax
test cl, cl
je 0x4b20cb
mov cl, byte [eax + 1]
inc eax
test cl, cl
je 0x4b20cb
jmp 0x4b1e72
mov esi, eax
sub esi, edx
mov al, byte [eax]
test al, al
je 0x4b20cb
and al, 0x80
neg al
sbb eax, eax
neg eax
inc eax
mov ecx, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4b1ed9
xor edx, edx
mov dword [esp + 0x94], esi
test ebx, ebx
setne dl
inc edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x90], edx
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 8]
sub eax, ecx
lea ecx, [esp + 0x2c]
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00515fac
mov edi, eax
lea edx, [esp + 0x30]
push esi
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x17c], 6
call fcn.00516028
push edi
push eax
lea eax, [esp + 0x2c]
mov bl, 7
push eax
mov byte [esp + 0x180], bl
call fcn.00519be9
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x178], 8
call fcn.00519af3
lea ecx, [esp + 0x24]
mov byte [esp + 0x174], bl
call fcn.00519a06
lea ecx, [esp + 0x30]
mov byte [esp + 0x174], 6
call fcn.00519a06
lea ecx, [esp + 0x2c]
mov byte [esp + 0x174], 1
call fcn.00519a06
mov dword [esp + 0x17c], 0x599360
mov edi, dword [esp + 0x17c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x4b2060
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4b1faa
mov dword [esp + 0x90], 3
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x4c]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
sub eax, esi
push eax
push edx
call fcn.00515fac
mov edi, eax
lea eax, [esp + 0x28]
push esi
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x17c], 0x23
call fcn.00516028
mov ecx, dword [esp + 0x17c]
lea edx, [esp + 0x2c]
push ecx
push eax
push edx
mov byte [esp + 0x180], 0x24
call fcn.00519c4f
push edi
push eax
lea eax, [esp + 0x38]
mov bl, 0x25
push eax
mov byte [esp + 0x180], bl
call fcn.00519be9
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x178], 0x26
call fcn.00519af3
lea ecx, [esp + 0x30]
mov byte [esp + 0x174], bl
call fcn.00519a06
lea ecx, [esp + 0x2c]
mov byte [esp + 0x174], 0x24
call fcn.00519a06
lea ecx, [esp + 0x28]
mov byte [esp + 0x174], 0x23
call fcn.00519a06
lea ecx, [esp + 0x4c]
mov byte [esp + 0x174], 1
call fcn.00519a06
mov eax, dword [ebp + 0x78]
push 0
lea ecx, [esp + 0x88]
push 0
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [ebp + 0x74]
push edx
push eax
push ecx
mov ecx, ebp
call fcn.004b2120
test eax, eax
jne 0x4b208e
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x4b20cb
mov eax, dword [esp + 0x180]
test eax, eax
je 0x4b20c0
mov edi, dword [esp + 0x17c]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x58]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
add ecx, esi
push 0
add ecx, edx
push 0
push ecx
mov ecx, ebp
call fcn.004969f0
push 1
push 0
mov ecx, ebp
call fcn.004a9910
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 0
call fcn.00519a06
mov dword [esp + 0x174], 0xffffffff
mov dword [esp + 0x34], 0x54d7d0
lea ecx, [esp + 0x34]
call fcn.004735a0
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x168
ret 8