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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x70a034]
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 0x4be0ec
mov edx, 0x75
test edi, edi
je 0x4bd3dc
movzx edx, byte [edi]
lea eax, [edx - 0x13]
mov dword [esp + 0x20], edx
cmp eax, 0x9d
ja case.0x4bd3f5.21
movzx eax, byte [eax + 0x4be3f8]
jmp dword [eax*4 + 0x4be380]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x28], edi
jmp 0x4bd3d0
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 0x4bd432
mov eax, dword [eax + 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
cmp byte [edx + 1], 0
je case.0x4bd3f5.162
mov ebx, dword [ebp + 8]
mov ecx, esi
push ebx
push dword [eax + 0xc]
push dword [edx + 8]
mov edx, 0x5a
call fcn.004a1e40
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
test byte [edi + 4], 8
mov edx, dword [edi + 0x1c]
je 0x4bd508
mov esi, dword [ebp + 8]
mov ecx, ebx
mov edx, dword [edi + 0xc]
push esi
call fcn.004bd380
movsx edx, word [edi + 0x20]
add esp, 4
mov ecx, eax
mov dword [esp + 0x18], ecx
test edx, edx
js 0x4bd4a3
mov eax, dword [edi + 0x2c]
add edx, edx
mov eax, dword [eax + 4]
movsx eax, byte [eax + edx*8 + 0xd]
jmp 0x4bd4a8
mov eax, 0x44
movsx edi, al
cmp edi, 0x41
jle 0x4bd4f1
mov ebx, dword [esp + 0x10]
cmp ecx, esi
je 0x4bd4cf
push esi
push ecx
mov edx, 0x4f
mov ecx, ebx
call fcn.004a1f70
mov ecx, esi
add esp, 8
mov dword [esp + 0x18], ecx
push 0xffffffffffffffff
lea eax, [edi*2 + 0x6d073c]
mov edx, 0x5b
push eax
push 0
push 1
push ecx
mov ecx, ebx
call fcn.004a22b0
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.00625325
mov esp, ebp
pop ebp
ret
test edx, edx
jns 0x4bd585
mov edx, dword [ebx + 0x34]
test edx, edx
jns 0x4bd584
movzx ebx, word [edi + 0x20]
test bx, bx
js 0x4bd56a
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 0x4bd56a
mov ebx, dword [ebp + 8]
sub edi, edx
push ebx
push edi
mov edx, 0x4f
mov ecx, esi
call fcn.004a1f70
push ebx
mov edx, 0x54
mov ecx, esi
call fcn.004a1f10
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
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.00625325
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.004bd110
mov cl, byte [esp + 0x33]
add esp, 0xc
test cl, cl
je 0x4bd5c0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4bd5c0
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.00625325
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, edi
push esi
push 0
call fcn.004bce50
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
mov ecx, edi
push ebx
call fcn.004b9ed0
push eax
mov edx, 0x46
mov ecx, esi
call fcn.004a1f70
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
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.004bcd10
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
push dword [edi + 8]
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.004a2050
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
mov edx, 0x49
push ebx
push 0
mov ecx, esi
call fcn.004a1f70
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 8]
lea ecx, [esi + 2]
call fcn.004836f0
lea edx, [esi + 2]
mov esi, dword [esp + 0x10]
lea edi, [eax - 1]
mov ecx, dword [esi]
push edi
call fcn.004848f0
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.004a22b0
add esp, 0x14
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
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.004a1f70
mov eax, dword [edi + 8]
add esp, 8
cmp byte [eax + 1], 0
je 0x4be368
mov esi, dword [ebx + 0xd8]
mov ecx, esi
movsx edx, word [edi + 0x20]
call fcn.00484e30
mov ecx, dword [esp + 0x10]
mov edx, eax
push 0xffffffffffffffff
mov dword [esi], 0
call fcn.004a2e10
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
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.00625325
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, dword [edi + 0xc]
push esi
call fcn.004bd380
mov ebx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, esi
je 0x4bd7b0
push esi
push eax
mov edx, 0x4f
mov ecx, ebx
call fcn.004a1f70
add esp, 8
mov dword [esp + 0x18], esi
mov ecx, dword [edi + 8]
xor edx, edx
call fcn.004c71a0
movsx eax, al
mov edx, 0x55
push eax
push esi
mov ecx, ebx
call fcn.004a1f70
mov eax, dword [esp + 0x20]
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
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 0x4bd803
xor esi, esi
mov eax, dword [edi + 0xc]
mov ecx, eax
mov dword [esp + 0x18], eax
call fcn.004b7e10
mov ecx, ebx
test eax, eax
je 0x4bd83e
push esi
push edx
push dword [ebp + 8]
mov edx, edi
call fcn.004b8020
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
call fcn.004be560
mov edx, dword [edi + 0x10]
add esp, 4
mov esi, eax
mov ecx, ebx
lea eax, [esp + 0x14]
push eax
call fcn.004be560
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.004b7d50
add esp, 0x18
jmp 0x4bda40
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x1c]
push eax
call fcn.004be560
mov edx, dword [edi + 0x10]
add esp, 4
mov esi, eax
mov ecx, ebx
lea eax, [esp + 0x14]
push eax
call fcn.004be560
mov edx, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x10]
push dword [ebp + 8]
push esi
push eax
call fcn.004a1e40
add esp, 0xc
jmp 0x4bda40
mov edx, dword [edi + 0xc]
mov al, byte [edx]
cmp al, 0x96
jne 0x4bd8f6
mov esi, dword [ebp + 8]
push esi
push 1
call fcn.004bce50
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
cmp al, 0x94
jne 0x4bd924
mov ebx, dword [ebp + 8]
mov ecx, esi
mov edx, dword [edx + 8]
push ebx
push 1
call fcn.004bcd10
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
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.004be560
mov edx, dword [edi + 0xc]
add esp, 4
mov esi, eax
mov ecx, ebx
lea eax, [esp + 0x14]
push eax
call fcn.004be560
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, 0x68
push dword [ebp + 8]
push esi
push eax
call fcn.004a1e40
add esp, 0xc
jmp 0x4bda40
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x1c]
push eax
call fcn.004be560
mov edx, dword [esp + 0x24]
add esp, 4
mov ecx, esi
push dword [ebp + 8]
push eax
call fcn.004a1f70
add esp, 8
jmp 0x4bda40
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x1c]
push eax
call fcn.004be560
mov ecx, dword [edi + 0x10]
add esp, 4
mov edx, eax
call fcn.004b9ed0
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.004a24e0
add esp, 0x10
jmp 0x4bda40
push dword [ebp + 8]
mov edx, 0x46
mov ecx, esi
push 1
call fcn.004a1f70
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call fcn.004be560
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov ecx, esi
push eax
call fcn.004a1f10
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, 0x46
mov esi, eax
push dword [ebp + 8]
push 0
call fcn.004a1f70
mov ecx, dword [esp + 0x18]
add esp, 8
mov edx, esi
call fcn.004a2960
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4bda5c
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4bda5c
movzx eax, al
mov dword [ebx + eax*4 + 0x94], ecx
inc byte [ebx + 0x13]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4be368
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4be368
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.00625325
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x28]
test eax, eax
jne 0x4bdac8
push dword [edi + 8]
push 0x70e2c4
push ebx
call fcn.00483850
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
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.00625325
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 0x4bdb2b
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.00625325
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x17], 0
je 0x4bdb5f
mov ecx, edi
call fcn.004ba110
test eax, eax
je 0x4bdb5f
push 0xffffffffffffffff
mov edx, edi
mov ecx, ebx
call fcn.004be4a0
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
test dword [edi + 4], 0x4000
je 0x4bdc3f
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.004ccf60
add esp, 0xc
mov dword [esp + 0x34], eax
test eax, eax
je 0x4bde4e
cmp dword [eax + 0x14], 0
jne 0x4bde4e
mov eax, dword [eax + 4]
test eax, 0x200
je 0x4bdc55
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.004be680
mov eax, dword [esp + 0x20]
add esp, 4
cmp eax, 1
jle 0x4bdc1a
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.004a1f70
mov edx, dword [edi]
mov ecx, ebx
push esi
call fcn.004be680
add esp, 0xc
lea edi, [edi + 0x18]
sub dword [esp + 0x18], 1
jne 0x4bdbf0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
call fcn.004a2630
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x4bdb74
mov eax, dword [ecx]
jmp 0x4bdb76
test eax, 0x400
je 0x4bdc85
mov edi, dword [esp + 0x20]
mov ecx, ebx
push dword [ebp + 8]
mov edx, dword [edi + 4]
call fcn.004bd380
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x14], eax
test ecx, ecx
jle 0x4bdcf9
mov esi, dword [esp + 0x20]
add esi, 4
xor edi, edi
nop dword [eax]
cmp eax, 0x20
jge 0x4bdcbb
mov ecx, dword [esi]
call fcn.004ba0b0
mov ecx, dword [esp + 0x1c]
test eax, eax
mov eax, dword [esp + 0x14]
je 0x4bdcbb
bts edi, eax
mov edx, dword [esp + 0x34]
test byte [edx + 4], 0x20
je 0x4bdce1
cmp dword [esp + 0x30], 0
jne 0x4bdce1
mov edx, dword [esi]
mov ecx, ebx
call fcn.004b7a90
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 0x4bdca0
mov esi, dword [esp + 0x10]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
test edx, edx
je 0x4bdd7b
cmp dword [esp + 0x2c], 0
je 0x4bdd21
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 0x4bdd34
mov edx, ecx
mov ecx, ebx
call fcn.004c0130
mov edx, dword [esp + 0x20]
mov ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x34]
test byte [eax + 4], 0xc0
je 0x4bdd66
mov ebx, dword [edx + 4]
mov bl, byte [ebx]
mov byte [esp + 0x27], bl
cmp bl, 0xa2
mov ebx, dword [esp + 0x18]
je 0x4bdd57
cmp byte [esp + 0x27], 0xa4
jne 0x4bdd66
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.004be840
mov edx, dword [esp + 0x2c]
add esp, 0xc
jmp 0x4bdd83
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x1c]
cmp eax, 2
jl 0x4bddaa
test byte [edi + 4], 0x80
je 0x4bddaa
push dword [edx + 0x1c]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
push eax
call fcn.004f0250
add esp, 8
mov edi, eax
jmp 0x4bddb7
test eax, eax
jle 0x4bddb3
push dword [edx + 4]
jmp 0x4bdd95
mov edi, dword [esp + 0x34]
test byte [edi + 4], 0x20
je 0x4bdde4
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x4bddcc
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.004a22b0
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.004a22b0
mov eax, dword [esp + 0x30]
add esp, 0x14
mov ecx, dword [esp + 0x10]
movzx edx, al
call fcn.004a2940
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4bde37
cmp dword [esp + 0x2c], 0
jne 0x4bde37
mov edx, dword [esp + 0x14]
mov ecx, ebx
push eax
call fcn.004c0190
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
push dword [esp + 0x3c]
push 0x70e31c
push ebx
call fcn.00483850
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
cmp edx, 0x86
jne 0x4bdeb5
mov eax, dword [edi + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, 1
je 0x4bdeb5
push 1
push eax
push 0x70e214
push ebx
call fcn.00483850
mov eax, dword [ebp + 8]
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
mov edx, edi
call fcn.004bb760
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x1c], 0
jne 0x4bdee5
call fcn.004bb760
mov ecx, dword [edi + 0xc]
mov dword [ecx + 0x1c], eax
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x4bdf08
mov ecx, dword [edi + 0xc]
call fcn.004b7e50
cmp edx, eax
je 0x4bdf08
push eax
push edx
push 0x70e2fc
push ebx
call fcn.00483850
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.00625325
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.004a1f70
mov edx, dword [esp + 0x30]
mov ecx, ebx
push edi
push esi
call fcn.004bbbe0
mov ebx, dword [ebp + 8]
mov edx, 0x46
mov ecx, dword [esp + 0x20]
push ebx
push 1
call fcn.004a1f70
mov edx, esi
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.004a2630
push 0
push ebx
mov edx, 0x53
mov ecx, esi
call fcn.004a1f70
add esp, 0x20
mov edx, edi
mov ecx, esi
call fcn.004a2630
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, edi
push 0
push 0
push esi
call fcn.004bea40
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
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.004a1f70
movzx eax, word [edi + 0x20]
add esp, 8
test ax, ax
js 0x4be368
movsx ecx, ax
mov eax, dword [esp + 0x3c]
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xd], 0x45
jne 0x4be368
push ebx
mov edx, 0x54
mov ecx, esi
call fcn.004a1f10
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
push 0x70e368
push ebx
call fcn.00483850
mov eax, dword [ebp + 8]
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
push dword [edi + 0x1c]
mov bl, byte [ebx + 0x17]
mov edx, 0x15
mov ecx, esi
call fcn.004a1f10
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.004bd380
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.004a2960
push dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.004a2900
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x78], 0
jne 0x4be103
push 0x70e334
push ebx
call fcn.00483850
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
cmp byte [edi + 1], 2
jne 0x4be115
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 0x4be14e
push dword [edi + 8]
mov edx, 0x45
mov ecx, esi
push 0
push 4
push 0
call fcn.004a22b0
mov eax, dword [ebp + 8]
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
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.004cbf10
mov eax, dword [ebp + 8]
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
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 0x4be242
push edx
push edx
mov edx, ecx
mov ecx, esi
call fcn.004b8c90
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], esi
cmp byte [eax + 0x51], 0
je 0x4be202
test esi, esi
je 0x4be368
mov edx, esi
mov ecx, eax
call fcn.004b8a40
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x1c]
mov edx, esi
push eax
mov ecx, ebx
call fcn.004bd2c0
add esp, 4
mov edx, eax
mov ecx, esi
call fcn.004bd280
push 0x34
lea eax, [esp + 0x48]
push 0
push eax
call fcn.0063e100
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 0x4be2e7
dec ecx
shr ecx, 1
inc ecx
mov dword [esp + 0x28], ecx
nop
cmp dword [esp + 0x3c], 0
je 0x4be26f
mov eax, dword [eax]
mov dword [esp + 0x54], eax
jmp 0x4be275
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.004bef60
mov edx, dword [esp + 0x3c]
mov ecx, ebx
push esi
mov edx, dword [edx + 0x18]
call fcn.004be680
mov edx, dword [esp + 0x48]
add esp, 0x14
mov ecx, edi
call fcn.004a1fe0
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4be2c4
push edx
mov edx, edi
call fcn.004a25e0
add esp, 4
jmp 0x4be2cd
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 0x4be260
mov eax, dword [esp + 0x30]
push esi
test al, 1
je 0x4be307
lea edx, [eax + eax*2]
mov ecx, ebx
mov eax, dword [esp + 0x44]
mov edx, dword [eax + edx*8 - 0x14]
call fcn.004be680
add esp, 4
jmp 0x4be318
push 0
mov edx, 0x49
mov ecx, edi
call fcn.004a1f70
add esp, 8
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4be32b
mov ecx, dword [esp + 0x14]
mov edx, eax
call fcn.004b8a40
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x34]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4be35f
push edx
mov edx, edi
call fcn.004a25e0
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00625325
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.00625325
mov esp, ebp
pop ebp
ret