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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x704034]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
mov ebx, ecx
mov dword [esp + 0x14], 0
push esi
push edi
mov edi, edx
mov dword [esp + 0x18], ebx
mov esi, dword [ebx + 8]
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x30], 0
test esi, esi
je 0x4b5a5c
mov edx, 0x75
test edi, edi
je 0x4b4d4c
movzx edx, byte [edi]
lea eax, [edx - 0x13]
mov dword [esp + 0x20], edx
cmp eax, 0x9d
ja case.0x4b4d65.21
movzx eax, byte [eax + 0x4b5d68]
jmp dword [eax*4 + 0x4b5cf0]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x28], edi
jmp 0x4b4d40
movsx eax, word [edi + 0x22]
mov edx, dword [edi + 0x28]
lea ecx, [eax + eax*2]
cmp byte [edx], 0
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*8]
jne 0x4b4da2
mov eax, dword [eax + 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
cmp byte [edx + 1], 0
je case.0x4b4d65.162
mov ebx, dword [ebp + 8]
mov ecx, esi
push ebx
push dword [eax + 0xc]
push dword [edx + 8]
mov edx, 0x5a
call fcn.004997a0
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
test byte [edi + 4], 8
mov edx, dword [edi + 0x1c]
je 0x4b4e78
mov esi, dword [ebp + 8]
mov ecx, ebx
mov edx, dword [edi + 0xc]
push esi
call fcn.004b4cf0
movsx edx, word [edi + 0x20]
add esp, 4
mov ecx, eax
mov dword [esp + 0x18], ecx
test edx, edx
js 0x4b4e13
mov eax, dword [edi + 0x2c]
add edx, edx
mov eax, dword [eax + 4]
movsx eax, byte [eax + edx*8 + 0xd]
jmp 0x4b4e18
mov eax, 0x44
movsx edi, al
cmp edi, 0x41
jle 0x4b4e61
mov ebx, dword [esp + 0x10]
cmp ecx, esi
je 0x4b4e3f
push esi
push ecx
mov edx, 0x4f
mov ecx, ebx
call fcn.004998d0
mov ecx, esi
add esp, 8
mov dword [esp + 0x18], ecx
push 0xffffffffffffffff
lea eax, [edi*2 + 0x6c9f14]
mov edx, 0x5b
push eax
push 0
push 1
push ecx
mov ecx, ebx
call fcn.00499c10
mov ecx, dword [esp + 0x2c]
add esp, 0x14
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
test edx, edx
jns 0x4b4ef5
mov edx, dword [ebx + 0x34]
test edx, edx
jns 0x4b4ef4
movzx ebx, word [edi + 0x20]
test bx, bx
js 0x4b4eda
mov eax, dword [edi + 0x2c]
movsx edi, bx
mov ecx, edi
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xd], 0x45
jne 0x4b4eda
mov ebx, dword [ebp + 8]
sub edi, edx
push ebx
push edi
mov edx, 0x4f
mov ecx, esi
call fcn.004998d0
push ebx
mov edx, 0x54
mov ecx, esi
call fcn.00499870
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
movsx eax, bx
sub eax, edx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
dec edx
mov al, byte [edi + 0x26]
mov ecx, esi
mov ebx, dword [ebp + 8]
mov byte [esp + 0x27], al
movsx eax, word [edi + 0x20]
push ebx
push eax
push edx
mov edx, dword [edi + 0x2c]
call fcn.004b4a80
mov cl, byte [esp + 0x33]
add esp, 0xc
test cl, cl
je 0x4b4f30
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4b4f30
movzx edx, cl
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, edi
push esi
push 0
call fcn.004b47c0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
mov ecx, edi
push ebx
call fcn.004b1840
push eax
mov edx, 0x46
mov ecx, esi
call fcn.004998d0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
mov ecx, esi
mov edx, dword [edi + 8]
push ebx
push 0
call fcn.004b4680
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
push dword [edi + 8]
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.004999b0
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
mov edx, 0x49
push ebx
push 0
mov ecx, esi
call fcn.004998d0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 8]
lea ecx, [esi + 2]
call fcn.0047b060
lea edx, [esi + 2]
mov esi, dword [esp + 0x10]
lea edi, [eax - 1]
mov ecx, dword [esi]
push edi
call fcn.0047c260
mov ebx, dword [ebp + 8]
add esp, 4
mov ecx, esi
push 0xfffffffffffffff9
push eax
mov eax, edi
cdq
sub eax, edx
mov edx, 0x4b
push 0
sar eax, 1
push ebx
push eax
call fcn.00499c10
add esp, 0x14
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
movsx eax, word [edi + 0x20]
mov edx, 0x4c
push eax
mov ecx, esi
call fcn.004998d0
mov eax, dword [edi + 8]
add esp, 8
cmp byte [eax + 1], 0
je 0x4b5cd8
mov esi, dword [ebx + 0xd8]
mov ecx, esi
movsx edx, word [edi + 0x20]
call fcn.0047c7a0
mov ecx, dword [esp + 0x10]
mov edx, eax
push 0xffffffffffffffff
mov dword [esi], 0
call fcn.0049a770
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, dword [edi + 0xc]
push esi
call fcn.004b4cf0
mov ebx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, esi
je 0x4b5120
push esi
push eax
mov edx, 0x4f
mov ecx, ebx
call fcn.004998d0
add esp, 8
mov dword [esp + 0x18], esi
mov ecx, dword [edi + 8]
xor edx, edx
call fcn.004beb10
movsx eax, al
mov edx, 0x55
push eax
push esi
mov ecx, ebx
call fcn.004998d0
mov eax, dword [esp + 0x20]
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esi, 0x80
cmp edx, 0x2d
mov dword [esp + 0x30], esi
sete al
lea edx, [eax + 0x34]
mov dword [esp + 0x20], edx
jmp 0x4b5173
xor esi, esi
mov eax, dword [edi + 0xc]
mov ecx, eax
mov dword [esp + 0x18], eax
call fcn.004af780
mov ecx, ebx
test eax, eax
je 0x4b51ae
push esi
push edx
push dword [ebp + 8]
mov edx, edi
call fcn.004af990
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
call fcn.004b5ed0
mov edx, dword [edi + 0x10]
add esp, 4
mov esi, eax
mov ecx, ebx
lea eax, [esp + 0x14]
push eax
call fcn.004b5ed0
mov ecx, dword [esp + 0x34]
add esp, 4
mov edx, dword [esp + 0x18]
or ecx, 0x20
push ecx
push dword [ebp + 8]
mov ecx, ebx
push eax
push esi
push dword [esp + 0x30]
push dword [edi + 0x10]
call fcn.004af6c0
add esp, 0x18
jmp 0x4b53b0
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x1c]
push eax
call fcn.004b5ed0
mov edx, dword [edi + 0x10]
add esp, 4
mov esi, eax
mov ecx, ebx
lea eax, [esp + 0x14]
push eax
call fcn.004b5ed0
mov edx, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x10]
push dword [ebp + 8]
push esi
push eax
call fcn.004997a0
add esp, 0xc
jmp 0x4b53b0
mov edx, dword [edi + 0xc]
mov al, byte [edx]
cmp al, 0x96
jne 0x4b5266
mov esi, dword [ebp + 8]
push esi
push 1
call fcn.004b47c0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
cmp al, 0x94
jne 0x4b5294
mov ebx, dword [ebp + 8]
mov ecx, esi
mov edx, dword [edx + 8]
push ebx
push 1
call fcn.004b4680
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x1c]
mov byte [esp + 0x78], 0x96
push eax
lea edx, [esp + 0x7c]
mov dword [esp + 0x80], 0x4400
mov dword [esp + 0x84], 0
call fcn.004b5ed0
mov edx, dword [edi + 0xc]
add esp, 4
mov esi, eax
mov ecx, ebx
lea eax, [esp + 0x14]
push eax
call fcn.004b5ed0
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, 0x68
push dword [ebp + 8]
push esi
push eax
call fcn.004997a0
add esp, 0xc
jmp 0x4b53b0
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x1c]
push eax
call fcn.004b5ed0
mov edx, dword [esp + 0x24]
add esp, 4
mov ecx, esi
push dword [ebp + 8]
push eax
call fcn.004998d0
add esp, 8
jmp 0x4b53b0
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x1c]
push eax
call fcn.004b5ed0
mov ecx, dword [edi + 0x10]
add esp, 4
mov edx, eax
call fcn.004b1840
mov ecx, eax
xor eax, eax
cmp byte [edi + 0x26], 0x2d
sete al
xor eax, ecx
push eax
xor eax, eax
test ecx, ecx
mov ecx, esi
sete al
push eax
push dword [ebp + 8]
push edx
mov edx, 0x58
call fcn.00499e40
add esp, 0x10
jmp 0x4b53b0
push dword [ebp + 8]
mov edx, 0x46
mov ecx, esi
push 1
call fcn.004998d0
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call fcn.004b5ed0
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov ecx, esi
push eax
call fcn.00499870
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, 0x46
mov esi, eax
push dword [ebp + 8]
push 0
call fcn.004998d0
mov ecx, dword [esp + 0x18]
add esp, 8
mov edx, esi
call fcn.0049a2c0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4b53cc
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4b53cc
movzx eax, al
mov dword [ebx + eax*4 + 0x94], ecx
inc byte [ebx + 0x13]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4b5cd8
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4b5cd8
movzx eax, al
mov dword [ebx + eax*4 + 0x94], ecx
inc byte [ebx + 0x13]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x28]
test eax, eax
jne 0x4b5438
push dword [edi + 8]
push 0x706d70
push ebx
call fcn.0047b1c0
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
movsx ecx, word [edi + 0x22]
mov eax, dword [eax + 0x28]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
test dword [edi + 4], 0x1000000
mov eax, dword [ebx]
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov al, byte [eax + 0x4e]
mov byte [esp + 0x14], al
je 0x4b549b
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 0x38]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x17], 0
je 0x4b54cf
mov ecx, edi
call fcn.004b1a80
test eax, eax
je 0x4b54cf
push 0xffffffffffffffff
mov edx, edi
mov ecx, ebx
call fcn.004b5e10
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
test dword [edi + 4], 0x4000
je 0x4b55af
mov dword [esp + 0x20], 0
xor eax, eax
mov ecx, dword [edi + 8]
mov edx, ecx
push 0
push dword [esp + 0x18]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x40]
push eax
mov dword [esp + 0x28], eax
call fcn.004c48d0
add esp, 0xc
mov dword [esp + 0x34], eax
test eax, eax
je 0x4b57be
cmp dword [eax + 0x14], 0
jne 0x4b57be
mov eax, dword [eax + 4]
test eax, 0x200
je 0x4b55c5
mov edi, dword [esp + 0x20]
mov ecx, ebx
dec dword [ebx + 0x38]
mov eax, dword [ebx + 0x38]
mov esi, dword [ebp + 8]
mov edx, dword [edi + 4]
push esi
mov dword [esp + 0x2c], eax
call fcn.004b5ff0
mov eax, dword [esp + 0x20]
add esp, 4
cmp eax, 1
jle 0x4b558a
add edi, 0x1c
dec eax
mov dword [esp + 0x18], eax
nop word [eax + eax]
push dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov edx, 0x33
push esi
call fcn.004998d0
mov edx, dword [edi]
mov ecx, ebx
push esi
call fcn.004b5ff0
add esp, 0xc
lea edi, [edi + 0x18]
sub dword [esp + 0x18], 1
jne 0x4b5560
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
call fcn.00499f90
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x4b54e4
mov eax, dword [ecx]
jmp 0x4b54e6
test eax, 0x400
je 0x4b55f5
mov edi, dword [esp + 0x20]
mov ecx, ebx
push dword [ebp + 8]
mov edx, dword [edi + 4]
call fcn.004b4cf0
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x14], eax
test ecx, ecx
jle 0x4b5669
mov esi, dword [esp + 0x20]
add esi, 4
xor edi, edi
nop dword [eax]
cmp eax, 0x20
jge 0x4b562b
mov ecx, dword [esi]
call fcn.004b1a20
mov ecx, dword [esp + 0x1c]
test eax, eax
mov eax, dword [esp + 0x14]
je 0x4b562b
bts edi, eax
mov edx, dword [esp + 0x34]
test byte [edx + 4], 0x20
je 0x4b5651
cmp dword [esp + 0x30], 0
jne 0x4b5651
mov edx, dword [esi]
mov ecx, ebx
call fcn.004af400
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
inc eax
add esi, 0x18
mov dword [esp + 0x14], eax
cmp eax, ecx
jl 0x4b5610
mov esi, dword [esp + 0x10]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
test edx, edx
je 0x4b56eb
cmp dword [esp + 0x2c], 0
je 0x4b5691
mov eax, dword [ebx + 0x2c]
lea esi, [eax + 1]
add eax, ecx
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x2c], eax
jmp 0x4b56a4
mov edx, ecx
mov ecx, ebx
call fcn.004b7aa0
mov edx, dword [esp + 0x20]
mov ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x34]
test byte [eax + 4], 0xc0
je 0x4b56d6
mov ebx, dword [edx + 4]
mov bl, byte [ebx]
mov byte [esp + 0x27], bl
cmp bl, 0xa2
mov ebx, dword [esp + 0x18]
je 0x4b56c7
cmp byte [esp + 0x27], 0xa4
jne 0x4b56d6
mov esi, dword [edx + 4]
mov al, byte [eax + 4]
and al, 0xc0
mov byte [esi + 0x26], al
mov esi, dword [esp + 0x10]
push 3
push 0
push ecx
mov ecx, ebx
call fcn.004b61b0
mov edx, dword [esp + 0x2c]
add esp, 0xc
jmp 0x4b56f3
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x1c]
cmp eax, 2
jl 0x4b571a
test byte [edi + 4], 0x80
je 0x4b571a
push dword [edx + 0x1c]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
push eax
call fcn.004e7bb0
add esp, 8
mov edi, eax
jmp 0x4b5727
test eax, eax
jle 0x4b5723
push dword [edx + 4]
jmp 0x4b5705
mov edi, dword [esp + 0x34]
test byte [edi + 4], 0x20
je 0x4b5754
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x4b573c
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 8]
push 0xfffffffffffffffe
push eax
push 0
push 0
push 0
mov edx, 0x52
mov ecx, esi
call fcn.00499c10
add esp, 0x14
mov edx, dword [ebx + 0x34]
mov esi, dword [ebp + 8]
neg edx
mov ecx, dword [esp + 0x10]
push 0xfffffffffffffff8
push edi
push esi
push dword [esp + 0x20]
sbb edx, edx
push dword [esp + 0x3c]
add edx, 0x3f
call fcn.00499c10
mov eax, dword [esp + 0x30]
add esp, 0x14
mov ecx, dword [esp + 0x10]
movzx edx, al
call fcn.0049a2a0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4b57a7
cmp dword [esp + 0x2c], 0
jne 0x4b57a7
mov edx, dword [esp + 0x14]
mov ecx, ebx
push eax
call fcn.004b7b00
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
push dword [esp + 0x3c]
push 0x706d58
push ebx
call fcn.0047b1c0
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
cmp edx, 0x86
jne 0x4b5825
mov eax, dword [edi + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, 1
je 0x4b5825
push 1
push eax
push 0x706c58
push ebx
call fcn.0047b1c0
mov eax, dword [ebp + 8]
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
mov edx, edi
call fcn.004b30d0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x1c], 0
jne 0x4b5855
call fcn.004b30d0
mov ecx, dword [edi + 0xc]
mov dword [ecx + 0x1c], eax
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x4b5878
mov ecx, dword [edi + 0xc]
call fcn.004af7c0
cmp edx, eax
je 0x4b5878
push eax
push edx
push 0x706da0
push ebx
call fcn.0047b1c0
add esp, 0x10
mov eax, dword [edi + 0xc]
movsx ecx, word [edi + 0x20]
add ecx, dword [eax + 0x1c]
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 0x38]
mov edx, 0x49
push dword [ebp + 8]
mov ecx, dword [esp + 0x14]
dec esi
push 0
lea edi, [esi - 1]
mov dword [ebx + 0x38], edi
call fcn.004998d0
mov edx, dword [esp + 0x30]
mov ecx, ebx
push edi
push esi
call fcn.004b3550
mov ebx, dword [ebp + 8]
mov edx, 0x46
mov ecx, dword [esp + 0x20]
push ebx
push 1
call fcn.004998d0
mov edx, esi
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.00499f90
push 0
push ebx
mov edx, 0x53
mov ecx, esi
call fcn.004998d0
add esp, 0x20
mov edx, edi
mov ecx, esi
call fcn.00499f90
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, edi
push 0
push 0
push esi
call fcn.004b63b0
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x2c]
mov edx, 0x95
mov ebx, dword [ebp + 8]
mov dword [esp + 0x3c], eax
push ebx
movsx ecx, word [eax + 0x2a]
movsx eax, word [edi + 0x20]
inc ecx
imul ecx, dword [edi + 0x1c]
inc ecx
add eax, ecx
mov ecx, esi
push eax
call fcn.004998d0
movzx eax, word [edi + 0x20]
add esp, 8
test ax, ax
js 0x4b5cd8
movsx ecx, ax
mov eax, dword [esp + 0x3c]
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xd], 0x45
jne 0x4b5cd8
push ebx
mov edx, 0x54
mov ecx, esi
call fcn.00499870
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
push 0x706d8c
push ebx
call fcn.0047b1c0
mov eax, dword [ebp + 8]
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
push dword [edi + 0x1c]
mov bl, byte [ebx + 0x17]
mov edx, 0x15
mov ecx, esi
call fcn.00499870
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, eax
push dword [ebp + 8]
mov byte [eax + 0x17], 0
mov edx, dword [edi + 0xc]
call fcn.004b4cf0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov edx, esi
mov dword [ebp + 8], eax
mov byte [ecx + 0x17], bl
mov ecx, dword [esp + 0x10]
call fcn.0049a2c0
push dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.0049a260
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x78], 0
jne 0x4b5a73
push 0x706dc8
push ebx
call fcn.0047b1c0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
cmp byte [edi + 1], 2
jne 0x4b5a85
mov eax, dword [ebx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov al, byte [edi + 1]
push 0
cmp al, 4
jne 0x4b5abe
push dword [edi + 8]
mov edx, 0x45
mov ecx, esi
push 0
push 4
push 0
call fcn.00499c10
mov eax, dword [ebp + 8]
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
push 0
push dword [edi + 8]
movsx eax, al
mov edx, 0x713
push eax
mov ecx, ebx
call fcn.004c3880
mov eax, dword [ebp + 8]
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x14]
xor edx, edx
mov esi, dword [ebx]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x18], edx
lea eax, [ecx + 4]
mov dword [esp + 0x38], edx
mov ecx, dword [ecx]
dec dword [ebx + 0x38]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0x38]
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], ecx
test ecx, ecx
je 0x4b5bb2
push edx
push edx
mov edx, ecx
mov ecx, esi
call fcn.004b0600
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], esi
cmp byte [eax + 0x51], 0
je 0x4b5b72
test esi, esi
je 0x4b5cd8
mov edx, esi
mov ecx, eax
call fcn.004b03b0
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x1c]
mov edx, esi
push eax
mov ecx, ebx
call fcn.004b4c30
add esp, 4
mov edx, eax
mov ecx, esi
call fcn.004b4bf0
push 0x34
lea eax, [esp + 0x48]
push 0
push eax
call fcn.00639370
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x50]
add esp, 0xc
mov byte [esp + 0x44], 0x35
mov dword [esp + 0x50], esi
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x30]
mov esi, dword [ebp + 8]
dec ecx
mov edi, dword [esp + 0x10]
test ecx, ecx
jle 0x4b5c57
dec ecx
shr ecx, 1
inc ecx
mov dword [esp + 0x28], ecx
nop
cmp dword [esp + 0x3c], 0
je 0x4b5bdf
mov eax, dword [eax]
mov dword [esp + 0x54], eax
jmp 0x4b5be5
mov edx, dword [eax]
mov dword [esp + 0x18], edx
dec dword [ebx + 0x38]
mov eax, dword [ebx + 0x38]
push 0x10
push eax
push edx
push ebx
mov dword [esp + 0x30], eax
call fcn.004b68d0
mov edx, dword [esp + 0x3c]
mov ecx, ebx
push esi
mov edx, dword [edx + 0x18]
call fcn.004b5ff0
mov edx, dword [esp + 0x48]
add esp, 0x14
mov ecx, edi
call fcn.00499940
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b5c34
push edx
mov edx, edi
call fcn.00499f40
add esp, 4
jmp 0x4b5c3d
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
add eax, 0x30
sub dword [esp + 0x28], 1
mov dword [esp + 0x2c], eax
jne 0x4b5bd0
mov eax, dword [esp + 0x30]
push esi
test al, 1
je 0x4b5c77
lea edx, [eax + eax*2]
mov ecx, ebx
mov eax, dword [esp + 0x44]
mov edx, dword [eax + edx*8 - 0x14]
call fcn.004b5ff0
add esp, 4
jmp 0x4b5c88
push 0
mov edx, 0x49
mov ecx, edi
call fcn.004998d0
add esp, 8
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4b5c9b
mov ecx, dword [esp + 0x14]
mov edx, eax
call fcn.004b03b0
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x34]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b5ccf
push edx
mov edx, edi
call fcn.00499f40
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0xac]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0062063b
mov esp, ebp
pop ebp
ret