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

Disassembly:
push ebp
sub esp, 0x64
mov eax, 0x6a641a
call fcn.006426c4
sub esp, 0x148
push ebx
xor edx, edx
mov ebx, ecx
push esi
push edi
mov dword [ebp + 0x4c], ebx
cmp byte [ebp + 0x70], dl
je 0x4ae913
push dword [ebp + 0x78]
lea ecx, [ebx + 0x20]
push dword [ebp + 0x74]
mov eax, dword [ecx]
push edx
push ebx
call dword [eax]
xor edi, edi
mov esi, edi
cmp dword [ebx + 0x1d4], esi
jbe 0x4ae842
push esi
lea ecx, [ebx + 0x1c4]
call fcn.00424466
push dword [ebx + 0x67c]
mov ecx, dword [eax]
call fcn.004e9920
inc esi
cmp esi, dword [ebx + 0x1d4]
jb 0x4ae81e
xor edi, edi
mov esi, dword [0x7b4654]
cmp esi, dword [ebx + 0x750]
jl 0x4ae889
jg 0x4ae860
mov ecx, dword [0x7b4650]
cmp ecx, dword [ebx + 0x74c]
jb 0x4ae88f
mov ecx, ebx
call fcn.004a5775
mov ecx, dword [0x7b4650]
mov eax, dword [0x7b4654]
add ecx, 0xa
mov dword [ebx + 0x74c], ecx
adc eax, edi
mov dword [ebx + 0x750], eax
mov esi, dword [0x7b4654]
mov ecx, dword [0x7b4650]
mov edx, dword [ebx + 0xc0]
mov eax, dword [ebx + 0xc4]
add edx, 0xa8c0
adc eax, edi
cmp esi, eax
jl 0x4ae8c0
jg 0x4ae8ad
cmp ecx, edx
jb 0x4ae8c0
mov ecx, ebx
call fcn.004b91b9
mov esi, dword [0x7b4654]
mov ecx, dword [0x7b4650]
mov edx, dword [0x7b0878]
test edx, edx
je 0x4ae8e2
xor eax, eax
add edx, dword [ebx + 0x51c]
adc eax, dword [ebx + 0x520]
cmp esi, eax
jg 0x4ae909
jl 0x4ae8e2
cmp ecx, edx
jae 0x4ae909
mov eax, dword [ebx + 0x500]
test eax, eax
jg 0x4ae8ef
push 0x3c
pop eax
imul eax, eax, 0x3c
cdq
add eax, dword [ebx + 0x51c]
adc edx, dword [ebx + 0x520]
cmp esi, edx
jl 0x4ae911
jg 0x4ae909
cmp ecx, eax
jb 0x4ae911
push edi
mov ecx, ebx
call fcn.004a1e35
xor edx, edx
mov al, byte [ebx + 0x5f4]
test al, al
je 0x4ae938
sub al, 1
mov byte [ebx + 0x5f4], al
jne 0x4ae938
test byte [ebx + 0x138], 1
je 0x4ae938
push edx
mov ecx, ebx
call fcn.004bb141
call fcn.0048fb5b
mov esi, eax
mov al, byte [ebp + 0x70]
test al, al
je 0x4aea30
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x168]
test al, al
je 0x4aea2d
test esi, esi
jle 0x4aea2d
mov eax, dword [ebx + 0x1e0]
xor edi, edi
sub eax, dword [ebx + 0x1dc]
mov ecx, edi
push 4
pop edx
cmp eax, edx
jb 0x4ae9ca
mov eax, dword [ebx + 0x1dc]
mov edx, ecx
shl edx, 2
mov eax, dword [edx + eax]
test byte [eax + 0x62], 1
jne 0x4ae99e
mov eax, dword [ebx + 0x1dc]
mov eax, dword [edx + eax]
test byte [eax + 0x62], 0x10
jne 0x4ae9b4
mov eax, dword [ebx + 0x1e0]
inc ecx
sub eax, dword [ebx + 0x1dc]
sar eax, 2
cmp ecx, eax
jne 0x4ae97b
jmp 0x4ae9c7
mov eax, dword [ebx + 0x1dc]
mov ecx, ebx
push 3
add eax, edx
push eax
call fcn.004a3ca0
dec esi
push 4
pop edx
test esi, esi
jle 0x4aea2d
test byte [ebx + 0x138], 0x40
jne 0x4ae9e0
cmp byte [0x78dabd], 0
je 0x4aea2d
mov eax, dword [ebx + 0x1e0]
sub eax, dword [ebx + 0x1dc]
cmp eax, edx
jb 0x4aea2d
mov edx, dword [0x78db0c]
test edx, edx
je 0x4aea2d
mov eax, dword [ebx + 0x1dc]
mov ecx, dword [ebx + 0x288]
lea esi, [eax + ecx*4]
mov eax, dword [esi]
cmp dword [eax + 0x74], edi
jg 0x4aea26
push edx
add eax, 0x38
push eax
call fcn.004e8b1e
test al, al
je 0x4aea26
push esi
mov ecx, ebx
call fcn.004a4eb6
mov ecx, ebx
call fcn.004b4ba6
mov al, byte [ebp + 0x70]
test byte [ebx + 0x138], 1
jne 0x4aea8c
test al, al
je 0x4af972
movzx eax, byte [ebx + 0x2f9]
xor ecx, ecx
mov dword [ebx + 0x4a0], ecx
mov dword [ebx + 0x4a4], ecx
mov dword [ebx + 0x4a8], ecx
mov byte [ebx + 0x2f9], cl
test eax, eax
je 0x4aea73
push ecx
push 0x10000
mov ecx, ebx
call fcn.004a4916
test byte [ebx + 0x143], 0xc
jne 0x4af972
mov ecx, ebx
call fcn.004a09a9
jmp 0x4af972
mov al, byte [ebx + 0x144]
test al, 8
jne 0x4aeba6
or al, 8
lea ecx, [ebp + 0x18]
mov byte [ebx + 0x144], al
lea eax, [ebx + 0x1e8]
push eax
call fcn.0049c445
xor edx, edx
lea ecx, [ebx + 0x198]
mov eax, dword [ecx + 0x10]
mov edi, edx
mov dword [ebp - 4], edx
mov dword [ebp + 0x60], eax
test eax, eax
je 0x4aeb61
push edi
call fcn.00424466
mov ecx, eax
call fcn.0048cf5d
mov esi, eax
mov dword [ebp + 0x58], esi
mov al, byte [esi + 0x89]
and al, 1
je 0x4aeaee
mov ecx, dword [esi]
xor esi, esi
jmp 0x4aeaf2
xor esi, esi
mov ecx, esi
test al, al
je 0x4aeb4d
cmp dword [ebp + 0x28], 0
je 0x4aeb1f
lea eax, [ecx + 0x78]
mov dword [ebp + 0x64], eax
push esi
lea ecx, [ebp + 0x18]
call fcn.0053d231
push dword [ebp + 0x64]
mov ecx, eax
call fcn.00410334
test eax, eax
je 0x4aeb3e
inc esi
cmp esi, dword [ebp + 0x28]
jne 0x4aeb02
mov esi, dword [ebp + 0x58]
xor eax, eax
push eax
mov ecx, esi
call fcn.004e703f
push esi
mov ecx, ebx
call fcn.004b46a1
mov eax, dword [ebp + 0x60]
dec eax
dec edi
mov dword [ebp + 0x60], eax
jmp 0x4aeb50
cmp esi, 0xffffffff
je 0x4aeb1f
push esi
lea eax, [ebp + 0x18]
push eax
call fcn.00496a6b
mov eax, dword [ebp + 0x60]
inc edi
lea ecx, [ebx + 0x198]
cmp edi, eax
jb 0x4aeacc
xor edx, edx
cmp dword [ebp + 0x28], 0
mov esi, edx
jbe 0x4aeb8e
push esi
lea ecx, [ebp + 0x18]
call fcn.0053d231
cmp dword [eax + 0x14], 0x10
jb 0x4aeb7a
mov eax, dword [eax]
xor ecx, ecx
push ecx
push 1
push ecx
push eax
mov ecx, ebx
call fcn.004baefb
inc esi
cmp esi, dword [ebp + 0x28]
jb 0x4aeb69
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.0046898f
push 8
push 1
push dword [ebp + 0x18]
call fcn.004284f3
mov al, byte [ebx + 0x144]
push 4
pop ecx
test cl, al
jne 0x4aebc2
or al, cl
mov ecx, ebx
mov byte [ebx + 0x144], al
call fcn.004b7bfa
cmp byte [ebp + 0x70], 0
je 0x4aebe7
mov ecx, dword [ebx + 0xcc]
mov eax, dword [ecx]
call dword [eax + 0x3c]
test al, al
je 0x4aebe7
mov ecx, dword [ebx + 0xcc]
push 1
mov eax, dword [ecx]
call dword [eax + 0xbc]
push 4
pop eax
test byte [ebx + 0x14c], al
je 0x4af155
mov eax, dword [ebx + 0x740]
xor edx, edx
mov ecx, dword [ebx + 0x73c]
cmp eax, edx
ja 0x4aec10
cmp ecx, edx
jbe 0x4af155
add ecx, 0x3fff
adc eax, edx
shrd ecx, eax, 0xe
shr eax, 0xe
cmp dword [ebx + 0xf0], ecx
jne 0x4af155
cmp edx, eax
jne 0x4af155
push dword [ebx + 0xe0]
call fcn.004a1e20
test al, al
je 0x4af155
mov esi, dword [ebx + 0xe0]
test esi, esi
je 0x4aec64
mov ecx, esi
call fcn.005060fd
push 0x180
push esi
call fcn.006426e4
pop ecx
pop ecx
sub esp, 0x18
xor eax, eax
mov ecx, ebx
mov dword [ebx + 0xe0], eax
push esp
call fcn.004a8d64
mov ecx, ebx
call fcn.004b7962
push 7
pop edx
xor ecx, ecx
mov dword [ebp + 0x40], edx
xor eax, eax
mov dword [ebp + 0x3c], ecx
mov word [ebp + 0x2c], ax
mov dword [ebp - 4], 1
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x3c], ax
mov byte [ebp - 4], 2
cmp dword [ebx + 0x714], ecx
je 0x4aed04
lea eax, [ebx + 0x704]
cmp dword [eax + 0x14], 0x10
jb 0x4aecba
mov eax, dword [eax]
push 0x6d05f4
push eax
call fcn.0047e50b
test al, al
je 0x4aed04
mov eax, dword [ebx + 0xd8]
xor edx, edx
cmp dword [eax + 0x38], edx
je 0x4aed04
add eax, 0x28
lea ecx, [ebp + 0x2c]
cmp ecx, eax
je 0x4aeceb
push 0xffffffffffffffff
push edx
push eax
call fcn.00428762
xor edx, edx
mov eax, dword [ebx + 0xd8]
lea ecx, [ebp - 0x3c]
add eax, 0x40
cmp ecx, eax
je 0x4aed04
push 0xffffffffffffffff
push edx
push eax
call fcn.00428762
mov ecx, dword [ebx + 0xd8]
call fcn.004a21ad
lea eax, [ebx + 0x528]
cmp dword [eax + 0x14], 8
jb 0x4aed1d
mov eax, dword [eax]
test eax, eax
je 0x4aed30
mov eax, dword [0x7b58dc]
test eax, eax
jle 0x4aed30
dec eax
mov dword [0x7b58dc], eax
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push eax
call fcn.004ad7cc
test al, al
je 0x4af053
test dword [0x7b4ec4], 0x4000000
je 0x4aed82
mov ecx, dword [0x7b4650]
sub ecx, dword [ebx + 0x33c]
mov eax, dword [0x7b4654]
sbb eax, dword [ebx + 0x340]
push eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x130]
push eax
push str.Finished_receiving_metadata_for__s_in__d_seconds
call fcn.0047d5f0
add esp, 0x10
call fcn.0048d34b
push eax
call fcn.0048d351
push eax
lea eax, [ebp]
mov ecx, ebx
push eax
call fcn.004a7c19
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 3
push eax
mov ecx, ebx
call fcn.004a8d64
cmp dword [ebp + 0x14], 8
mov ecx, dword [ebp]
push 4
pop eax
mov byte [ebp - 4], al
jae 0x4aedbd
lea ecx, [ebp]
cmp dword [ebp - 0x70], 8
mov eax, dword [ebp - 0x84]
jae 0x4aedcf
lea eax, [ebp - 0x84]
push ecx
push eax
call fcn.00461d6c
test eax, eax
jne 0x4aee19
cmp dword [ebp + 0x14], 8
mov eax, dword [ebp]
jae 0x4aede6
lea eax, [ebp]
push eax
call fcn.004626bc
test al, al
je 0x4aee2e
cmp dword [ebp + 0x14], 8
mov ecx, dword [ebp]
jae 0x4aedfc
lea ecx, [ebp]
cmp dword [ebp - 0x70], 8
mov eax, dword [ebp - 0x84]
jae 0x4aee0e
lea eax, [ebp - 0x84]
push ecx
push eax
call fcn.00461d6c
test eax, eax
je 0x4aee2e
sub esp, 0x18
lea eax, [ebp]
mov ecx, esp
push eax
call fcn.00427fbe
mov ecx, ebx
call fcn.004b7962
cmp dword [ebp + 0x3c], 0
jne 0x4aee6a
lea eax, [ebp - 0xdc]
push eax
call fcn.0046e866
push eax
lea ecx, [ebp + 0x2c]
call fcn.00428071
xor esi, esi
lea ecx, [ebp - 0xdc]
push esi
push 1
call fcn.004285f6
push 0xffffffffffffffff
push esi
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00428762
jmp 0x4aee6c
xor esi, esi
sub esp, 0x18
lea eax, [ebp + 0x2c]
mov ecx, esp
push eax
call fcn.00427fbe
mov ecx, dword [ebx + 0xd8]
call fcn.0050850c
sub esp, 0x18
lea eax, [ebp - 0x3c]
mov ecx, esp
push eax
call fcn.00427fbe
mov ecx, dword [ebx + 0xd8]
call fcn.0050843d
test al, al
jne 0x4aef08
mov byte [ebp + 0x5f], 1
call fcn.00479151
cmp dword [ebp + 0x40], 8
mov eax, dword [ebp + 0x2c]
mov byte [ebp - 4], 5
jae 0x4aeebb
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.004d5261
push eax
lea ecx, [ebp - 0x3c]
call fcn.00428071
push esi
push 1
lea ecx, [ebp - 0xf4]
call fcn.004285f6
xor eax, eax
mov byte [ebp + 0x5f], al
call fcn.00479192
sub esp, 0x18
lea eax, [ebp - 0x3c]
mov ecx, esp
push eax
call fcn.00427fbe
mov ecx, dword [ebx + 0xd8]
call fcn.0050843d
push 4
pop eax
mov byte [ebp - 4], al
xor eax, eax
mov ecx, ebx
push eax
push 0x1000
call fcn.004a4916
or byte [ebx + 0x14c], 8
mov ecx, ebx
call fcn.004a5f7a
mov eax, dword [ebx + 0x234]
mov dword [ebx + 0x238], eax
mov esi, dword [ebx + 0x244]
mov edi, esi
jmp 0x4aef43
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esi]
cmp esi, edi
jne 0x4aef3b
xor eax, eax
mov ecx, ebx
push eax
push 0x201
call fcn.004a4916
lea eax, [ebx + 0x1c4]
push eax
lea ecx, [ebp - 0x50]
call fcn.0049c3cb
xor eax, eax
mov byte [ebp - 4], 7
mov esi, eax
cmp dword [ebp - 0x40], eax
jbe 0x4aef8a
push esi
lea ecx, [ebp - 0x50]
call fcn.00424466
mov ecx, dword [eax]
call fcn.004ecc3b
inc esi
cmp esi, dword [ebp - 0x40]
jb 0x4aef74
lea ecx, [ebp - 0x50]
call fcn.0044777c
mov eax, dword [ebx]
mov ecx, ebx
push 0xffffffffffffffff
push 0
call dword [eax + 0x50]
cmp byte [ebx + 0x150], 3
jne 0x4aefaf
mov ecx, ebx
call fcn.004b7c55
jmp 0x4aefef
cmp byte [0x7b0a14], 0
je 0x4aefef
mov ecx, ebx
call fcn.004aacfb
push ebx
call fcn.0048f73a
mov ax, word [ebx + 0x138]
mov ecx, 0xfffe
and ax, cx
push 4
pop ecx
or ax, cx
mov ecx, ebx
movzx eax, ax
push eax
call fcn.004b7894
xor eax, eax
mov ecx, ebx
push eax
call fcn.004b3a44
lea eax, [ebx + 0x4b4]
cmp dword [eax + 0x14], 0x10
jb 0x4aeffd
mov eax, dword [eax]
lea ecx, [ebx + 0x528]
cmp dword [ecx + 0x14], 8
jb 0x4af00b
mov ecx, dword [ecx]
push eax
push 3
xor eax, eax
push eax
mov eax, dword [ebx]
push str.Metadata_Complete
push ecx
mov ecx, ebx
call dword [eax + 0x34]
push eax
call fcn.004d4912
lea ecx, [ebp - 0x50]
call fcn.0044777c
push 8
push 1
push dword [ebp - 0x50]
call fcn.004284f3
xor eax, eax
lea ecx, [ebp - 0x84]
push eax
push 1
mov dword [ebp - 0x50], eax
call fcn.004285f6
lea ecx, [ebp]
jmp 0x4af12d
xor eax, eax
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x14], eax
mov word [ebp - 0x24], ax
mov ecx, ebx
mov byte [ebp - 4], 8
call fcn.004aa9fa
test al, al
je 0x4af169
lea eax, [ebp - 0x10c]
mov ecx, ebx
push eax
call fcn.004a7623
push eax
lea ecx, [ebp - 0x24]
call fcn.00428071
xor eax, eax
lea ecx, [ebp - 0x10c]
push eax
push 1
call fcn.004285f6
xor esi, esi
test dword [0x7b4ec4], 0x20000
je 0x4af0d0
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x4af0b7
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x130]
push eax
push str.ERROR:_Metadata_for__s_could_not_be_loaded_____s__
call fcn.0047d5f0
add esp, 0xc
test byte [ebx + 0x14c], 0x10
je 0x4af10d
mov eax, dword [ebx + 0x234]
cmp dword [eax + 4], esi
je 0x4af10d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x130]
push eax
push str.BAN_peer:_Responsible_for__s_metadata_not_being_loaded_
call fcn.0047d5f0
pop ecx
pop ecx
xor eax, eax
push eax
push eax
mov eax, dword [ebx + 0x234]
push dword [eax + 4]
call fcn.004a0a43
mov ecx, ebx
call fcn.004a5f7a
push 1
lea ecx, [ebx + 0x234]
call fcn.004bd00a
push 1
mov ecx, ebx
call fcn.004a3278
lea ecx, [ebp - 0x24]
xor eax, eax
push eax
push 1
call fcn.004285f6
xor eax, eax
lea ecx, [ebp - 0x3c]
push eax
push 1
call fcn.004285f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x2c]
xor eax, eax
push eax
push 1
call fcn.004285f6
cmp byte [ebp + 0x70], 0
je 0x4af4d4
or dword [ebp + 0x44], 0xffffffff
or dword [ebp + 0x48], 0xffffffff
jmp 0x4af1a3
lea eax, [ebx + 0x6ec]
lea ecx, [ebp - 0x24]
cmp ecx, eax
je 0x4af09d
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
call fcn.00428762
jmp 0x4af09f
mov eax, dword [esi + 0x14]
add eax, 0x2d
cdq
cmp dword [0x7b4654], edx
jg 0x4af1ba
jl 0x4af1a3
cmp dword [0x7b4650], eax
ja 0x4af1ba
lea eax, [ebp + 0x44]
push eax
push dword [ebx + 0x1d8]
call fcn.0050129e
mov esi, eax
test esi, esi
jne 0x4af18a
jmp 0x4af1fd
test byte [0x7b4ec4], 0x40
je 0x4af1d0
push esi
push str.Timing_out_hole_punch_request__A_
call fcn.0047d5f0
pop ecx
pop ecx
mov edx, dword [esi + 0x18]
push esi
mov ecx, dword [edx + 0x7b]
mov eax, ecx
and eax, 0xf0000000
not ecx
dec eax
and ecx, 0xfffffff
xor eax, ecx
mov dword [edx + 0x7b], eax
push dword [ebx + 0x1d8]
call fcn.005011fe
inc dword [0x7b58b8]
cmp byte [ebx + 0x142], 0
je 0x4af22b
call fcn.0046d46b
movzx ecx, byte [ebx + 0x142]
xor edx, edx
shr ecx, 1
inc ecx
div ecx
push 0
shl edx, 0xf
add dword [ebx + 0x28c], edx
pop eax
adc dword [ebx + 0x290], eax
test byte [ebx + 0x138], 0x20
jne 0x4af3d0
cmp byte [0x78d9e4], 0
mov cl, byte [0x78d9e5]
je 0x4af2ac
mov eax, dword [ebx + 0xe4]
cmp eax, 0x80000
ja 0x4af258
mov cl, 0xa
jmp 0x4af2ac
mov dword [ebp + 0x54], eax
fild dword [ebp + 0x54]
test eax, eax
jns 0x4af268
fadd dword [0x6d0b54]
fstp dword [ebp + 0x58]
fld dword [ebp + 0x58]
fdiv qword [0x6dafe8]
push ecx
push ecx
fstp dword [ebp + 0x64]
fld dword [ebp + 0x64]
fstp qword [esp]
call fcn.006728f0
fstp dword [ebp + 0x64]
fld dword [ebp + 0x64]
fstp dword [ebp + 0x64]
fld dword [ebp + 0x64]
pop ecx
pop ecx
call fcn.00643000
mov ecx, eax
mov eax, 0xff
cmp ecx, eax
jbe 0x4af2a4
mov ecx, eax
cmp ecx, 0xa
jae 0x4af2ac
push 0xa
pop ecx
inc byte [ebx + 0x134]
cmp byte [ebx + 0x134], cl
jb 0x4af2cc
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
mov byte [ebx + 0x134], al
call fcn.004a2b81
inc byte [ebx + 0x136]
cmp byte [ebx + 0x136], 0xa
jb 0x4af2fe
xor eax, eax
test byte [ebx + 0x143], 0x20
mov byte [ebx + 0x136], al
jne 0x4af2fe
mov ecx, ebx
call fcn.004a1d75
test al, al
je 0x4af2fe
mov ecx, ebx
call fcn.004b70eb
mov eax, dword [ebx + 0x2f0]
test eax, eax
jne 0x4af3c9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x148]
test al, al
je 0x4af3d0
mov ecx, dword [0x7b5030]
mov eax, dword [ecx]
call dword [eax + 0x5c]
test al, al
je 0x4af3d0
xor eax, eax
mov ecx, ebx
mov esi, eax
mov eax, dword [ebx]
call dword [eax + 0xe8]
test al, al
je 0x4af344
inc esi
cmp dword [ebx + 0x1d4], 5
jb 0x4af350
or esi, 2
mov edi, dword [0x7b5030]
mov ecx, ebx
call fcn.004a7c00
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.00440ca9
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 4], 9
jb 0x4af379
mov eax, dword [eax]
mov edx, dword [edi]
mov ecx, edi
push esi
push 0
push eax
push 0x490619
push 0x48d0eb
lea eax, [ebx + 8]
push eax
call dword [edx + 0x28]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
xor eax, eax
push eax
push 1
call fcn.0040f95f
call fcn.0046d46b
xor edx, edx
mov ecx, 0x12c
div ecx
add edx, 0x4b0
or byte [ebx + 0x2f8], 1
mov dword [ebx + 0x2f0], edx
jmp 0x4af3d0
dec eax
mov dword [ebx + 0x2f0], eax
mov ecx, ebx
call fcn.004a0de1
mov eax, dword [ebx + 0x1e0]
sub eax, dword [ebx + 0x1dc]
push 4
pop ecx
cmp eax, ecx
jb 0x4af48e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x168]
test al, al
jne 0x4af48e
mov eax, dword [ebx + 0x1dc]
mov ecx, dword [ebx + 0x288]
lea esi, [eax + ecx*4]
mov eax, dword [esi]
cmp dword [eax + 0x74], 0
jg 0x4af487
test byte [eax + 0x62], 1
jne 0x4af487
mov al, byte [0x7bd7a7]
or al, byte [0x7b5901]
or al, byte [0x7bd8da]
jne 0x4af487
call fcn.0048fb5b
test eax, eax
jle 0x4af487
push esi
mov ecx, ebx
call fcn.004a900e
mov ecx, dword [esi]
mov byte [ebp + 0x64], al
cmp al, byte [ecx + 0x60]
je 0x4af44f
test al, al
jne 0x4af46d
cmp byte [ecx + 0x60], 3
je 0x4af46d
mov eax, dword [ecx + 0x28]
or eax, dword [ecx + 0x2c]
je 0x4af46d
push dword [ecx + 0x1c]
lea eax, [ecx + 0x28]
push eax
call fcn.004e8b1e
test al, al
je 0x4af487
mov eax, dword [0x7b51cc]
test eax, eax
jle 0x4af487
push dword [ebp + 0x64]
dec eax
mov ecx, ebx
push esi
mov dword [0x7b51cc], eax
call fcn.004a3ca0
mov ecx, ebx
call fcn.004b4ba6
movzx esi, word [ebx + 0x138]
mov ecx, ebx
shr esi, 5
not esi
and esi, 1
add dword [ebx + 0x3d4], esi
push 0
pop eax
adc dword [ebx + 0x3d8], eax
mov eax, dword [ebx]
call dword [eax + 0xe8]
test al, al
jne 0x4af4c5
mov ecx, ebx
call fcn.004b6423
test al, al
je 0x4af4d4
add dword [ebx + 0x3dc], esi
push 0
pop eax
adc dword [ebx + 0x3e0], eax
mov al, byte [ebx + 0x143]
test al, 2
je 0x4af544
and al, 0xfd
lea ecx, [ebp - 0x6c]
mov byte [ebx + 0x143], al
lea eax, [ebx + 0x1c4]
push eax
call fcn.0049c3cb
xor eax, eax
mov dword [ebp - 4], 0xa
mov esi, eax
cmp dword [ebp - 0x5c], eax
jbe 0x4af524
push esi
lea ecx, [ebp - 0x6c]
call fcn.00424466
mov ecx, dword [eax]
test byte [ecx + 0x17b], 2
je 0x4af51e
call fcn.004eae84
inc esi
cmp esi, dword [ebp - 0x5c]
jb 0x4af505
lea ecx, [ebp - 0x6c]
call fcn.0044777c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.0044777c
push 8
push 1
push dword [ebp - 0x6c]
call fcn.004284f3
cmp byte [ebp + 0x70], 0
je 0x4af911
xor eax, eax
lea ecx, [ebp - 0x98]
mov edi, eax
mov dword [ebp + 0x58], eax
mov esi, eax
mov dword [ebp + 0x70], edi
lea eax, [ebx + 0x1c4]
mov dword [ebp + 0x64], esi
push eax
call fcn.0049c3cb
xor eax, eax
mov dword [ebp - 4], 0xb
cmp dword [ebp - 0x88], eax
jbe 0x4af5d2
mov ebx, eax
push ebx
lea ecx, [ebp - 0x98]
call fcn.00424466
mov edi, dword [eax]
test byte [edi + 0x17b], 2
je 0x4af5a6
push dword [ebp + 0x78]
mov ecx, edi
push dword [ebp + 0x74]
call fcn.004eb703
mov eax, dword [ebp + 0x58]
add eax, dword [edi + 0x9c]
add esi, dword [edi + 0x94]
mov dword [ebp + 0x58], eax
mov eax, dword [ebp + 0x70]
add eax, dword [edi + 0x58]
inc ebx
mov dword [ebp + 0x70], eax
cmp ebx, dword [ebp - 0x88]
jb 0x4af582
mov ebx, dword [ebp + 0x4c]
mov edi, eax
mov dword [ebp + 0x64], esi
lea ecx, [ebp - 0x98]
call fcn.0044777c
xor eax, eax
mov dword [ebx + 0x4a0], esi
push eax
call fcn.00495a63
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], edx
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.004969df
push eax
lea ecx, [ebx + 0x63c]
call fcn.004a02d1
imul eax, dword [ebx + 0x4ac], 0x7f
mov ecx, dword [ebp + 0x58]
mov dword [ebx + 0x4a8], ecx
mov dword [ebx + 0x4a4], edi
add eax, ecx
add eax, eax
shr eax, 8
mov dword [ebx + 0x4ac], eax
mov al, byte [ebx + 0x2f9]
movzx edx, al
cmp edi, dword [0x78dab0]
jae 0x4af65b
cmp esi, dword [0x78daac]
jae 0x4af65b
test al, al
je 0x4af662
dec al
mov byte [ebx + 0x2f9], al
jmp 0x4af662
mov byte [ebx + 0x2f9], 0xf
xor al, al
cmp al, byte [ebx + 0x2f9]
sbb ecx, ecx
xor eax, eax
neg ecx
cmp eax, edx
sbb eax, eax
neg eax
cmp eax, ecx
je 0x4af689
xor eax, eax
mov ecx, ebx
push eax
push 0x10000
call fcn.004a4916
inc dword [ebx + 0x2fc]
xor edx, edx
mov eax, dword [ebx + 0x2fc]
push 0x3c
pop edi
div edi
test edx, edx
jne 0x4af755
mov ecx, ebx
call fcn.004b648c
cmp byte [0x78da9a], 0
je 0x4af6e0
mov ecx, ebx
call fcn.004a77ab
cmp dword [ebx + 0x1a8], eax
jae 0x4af6d0
mov eax, dword [0x7b4680]
cmp eax, dword [0x78d9fc]
jb 0x4af6e0
cmp byte [ebx + 0x143], 0x80
jae 0x4af6e0
mov ecx, ebx
call fcn.004a4a9d
mov ecx, ebx
call fcn.004a57e6
xor eax, eax
push eax
call fcn.00495a63
mov esi, dword [ebx + 0x174]
mov ecx, dword [ebx + 0x178]
add esi, 0xe4c
adc ecx, 0
cmp ecx, edx
jg 0x4af755
jl 0x4af70e
cmp esi, eax
jae 0x4af755
mov ecx, dword [0x7b5030]
xor eax, eax
push 0x4918f2
push eax
lea eax, [ebx + 8]
mov edx, dword [ecx]
push eax
xor eax, eax
push eax
call dword [edx + 0x18]
call fcn.0066c265
cdq
idiv edi
push 0
mov eax, edx
cdq
mov edi, eax
mov esi, edx
pop eax
sub edi, 0x1e
push eax
sbb esi, eax
call fcn.00495a63
add eax, edi
mov dword [ebx + 0x174], eax
adc edx, esi
mov dword [ebx + 0x178], edx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.0049e2c7
test byte [ebx + 0x14d], 8
mov eax, dword [0x7b4654]
mov edi, dword [0x7b4650]
mov dword [ebp + 0x70], eax
jne 0x4af8dc
push 4
pop eax
test byte [ebx + 0x14c], al
je 0x4af8dc
lea esi, [ebx + 0x214]
cmp dword [esi + 0x14], 0x10
jb 0x4af79e
mov eax, dword [esi]
jmp 0x4af7a0
mov eax, esi
push 0x6da4ac
push eax
call fcn.0047e50b
test al, al
jne 0x4af7ce
cmp dword [esi + 0x14], 0x10
jb 0x4af7b9
mov eax, dword [esi]
jmp 0x4af7bb
mov eax, esi
push 0x6d05ec
push eax
call fcn.0047e50b
test al, al
je 0x4af8dc
push dword [0x7b13f8]
push dword [ebx + 0x22c]
call fcn.0049ba01
cdq
add eax, dword [ebx + 0x33c]
adc edx, dword [ebx + 0x340]
cmp edx, dword [ebp + 0x70]
ja 0x4af8dc
jb 0x4af7ff
cmp eax, edi
jae 0x4af8dc
or byte [ebx + 0x14d], 8
push 0xc4
call fcn.00642424
pop ecx
mov dword [ebp + 0x70], eax
mov dword [ebp - 4], 0xc
test eax, eax
je 0x4af828
mov ecx, eax
call fcn.00466f4c
jmp 0x4af82a
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [ebp + 0x60], ecx
test ecx, ecx
je 0x4af83d
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
xor eax, eax
mov dword [ebp - 4], 0xd
push eax
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.00460dc6
mov ecx, dword [ebp + 0x60]
push eax
lea ecx, [ecx + 8]
call fcn.00428071
xor eax, eax
lea ecx, [ebp - 0x13c]
push eax
push 1
call fcn.004285f6
xor eax, eax
mov ecx, esi
push eax
push 1
call fcn.0040ea03
mov eax, dword [ebp + 0x60]
add eax, 8
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00440ca9
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.0040f409
xor eax, eax
mov byte [ebp - 4], 0xd
push eax
push 1
lea ecx, [ebp - 0x154]
call fcn.0040f95f
cmp dword [esi + 0x14], 0x10
jb 0x4af8bb
mov esi, dword [esi]
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp + 0x60]
push eax
push 0x4addf1
push ebx
push esi
call fcn.00467be1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x60]
call fcn.00509e4d
mov ecx, ebx
call fcn.004a09a9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe8]
test al, al
jne 0x4af911
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x15c]
and al, 0x21
cmp al, 1
jne 0x4af911
add dword [ebx + 0x324], 1
push 0
pop eax
adc dword [ebx + 0x328], eax
lea ecx, [ebp + 0x53]
lea eax, [ebx + 0x240]
push ecx
push eax
lea ecx, [ebp - 0xb8]
mov dword [ebp + 0x70], eax
call fcn.004966fd
mov ebx, dword [ebp - 0xb4]
mov dword [ebp - 4], 0xf
mov edi, dword [ebx]
jmp 0x4af963
mov eax, dword [ebp + 0x4c]
lea ecx, [edi + 8]
push ecx
mov ecx, dword [ebp + 0x70]
mov esi, dword [eax + 0x244]
lea eax, [ebp + 0x54]
push eax
call fcn.004bc612
cmp dword [ebp + 0x54], esi
je 0x4af961
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov edi, dword [edi]
cmp edi, ebx
jne 0x4af93b
lea ecx, [ebp - 0xb8]
call fcn.0049e0ba
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
lea esp, [ebp + 0x68]
pop ebp
ret 0xc