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

Disassembly:
push 0xffffffffffffffff
push 0x52dc53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb80
push ebx
push ebp
mov ebp, dword [esp + 0xba0]
push esi
mov esi, ecx
push edi
xor edi, edi
xor ebx, ebx
mov eax, dword [esi + 0x74]
mov dword [esp + 0x1c], esi
cmp eax, edi
mov dword [esp + 0x14], ebx
jle 0x4f17cf
jmp 0x4f0d43
xor edi, edi
xor eax, eax
mov dword [esp + 0x30], 0x533ff8
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0xb98], edi
cmp ecx, edi
mov dword [esp + 0x10], edi
jle 0x4f0de7
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 0x48]
mov eax, dword [esp + 0xba0]
push eax
mov edi, dword [ecx + edx*4]
mov ecx, edi
call fcn.004ef220
test al, al
je 0x4f0dc7
push ebx
mov ecx, edi
call fcn.004ee470
mov esi, dword [eax + 8]
dec esi
js 0x4f0dc7
push ebx
mov ecx, edi
call fcn.004ee470
mov ecx, dword [eax + 4]
lea eax, [ecx + esi*4]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
jne 0x4f0db8
dec esi
jns 0x4f0d9e
jmp 0x4f0dc7
mov edx, dword [esp + 0x38]
push edi
push edx
lea ecx, [esp + 0x38]
call fcn.004a6b80
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
inc eax
mov edx, dword [ecx + 0x4c]
mov dword [esp + 0x10], eax
cmp eax, edx
jl 0x4f0d6f
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x4f0e1f
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], 0x533ff8
test eax, eax
mov dword [esp + 0xb98], 1
je 0x4f0e07
push eax
call fcn.0051aee4
add esp, 4
mov dword [esp + 0xb98], 0xffffffff
mov dword [esp + 0x30], 0x53138c
jmp 0x4f17b9
push fcn.0051af0e
push fcn.0051af14
push 0x28
lea edx, [esp + 0x19c]
push 4
push edx
call fcn.0051bfa4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xba4]
push fcn.00434110
push 0x46a150
lea eax, [eax + eax*2]
push 0x28
push 0x3c
mov byte [esp + 0xba8], 2
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4]
lea eax, [esp + 0x240]
push eax
mov dword [esp + 0x2c], edx
call fcn.0051bfa4
xor ebx, ebx
lea ebp, [esp + 0x258]
mov byte [esp + 0xb98], 3
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], 0
push 0xffffffffffffffff
mov edx, dword [ecx + 0x70]
push 0
mov ecx, dword [edx + eax*4]
mov edx, dword [esp + 0x20]
mov esi, dword [ecx + 0x1c]
mov edi, dword [edx + 8]
mov ecx, ebp
call fcn.00404860
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x28]
call fcn.0051af8c
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x14]
call fcn.0051af8c
lea ecx, [esp + 0xdc]
call fcn.00403d80
lea eax, [esp + 0x10]
push esi
push eax
push 0
lea ecx, [esp + 0xe8]
mov byte [esp + 0xba4], 4
call fcn.004045d0
inc edi
lea ecx, [esp + 0xdc]
push edi
push ecx
push 0
mov ecx, ebp
call fcn.004040b0
lea ecx, [esp + 0xdc]
mov byte [esp + 0xb98], 3
call fcn.00403da0
lea ecx, [esp + 0x48]
call fcn.0051af80
mov dword [esp + 0x48], 0x531584
lea ecx, [esp + 0x70]
mov byte [esp + 0xb98], 5
call fcn.0046a1c0
push 0xa
push 0
lea ecx, [esp + 0x78]
mov byte [esp + 0xba0], 6
mov dword [esp + 0x78], 0x531cd8
call fcn.004ecdd0
lea ecx, [esp + 0x28]
mov byte [esp + 0xb98], 7
call fcn.0051af14
mov eax, dword [esp + 0x38]
xor edi, edi
test eax, eax
mov byte [esp + 0xb98], 8
jle 0x4f105b
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x98]
push ebx
mov ecx, dword [ecx + edi*4]
push edx
push eax
call fcn.004ee470
mov ecx, eax
call fcn.0047bbf0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb9c], 9
call fcn.0051afc2
lea ecx, [esp + 0x98]
mov byte [esp + 0xb98], 8
call fcn.0051af0e
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4f104e
mov edx, dword [esp + 0x34]
push eax
mov ecx, dword [edx + edi*4]
call fcn.004ee410
test eax, eax
je 0x4f104e
mov eax, dword [eax + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4f104e
mov ecx, dword [esp + 0x50]
lea esi, [ecx - 1]
test esi, esi
jl 0x4f1022
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x28]
push ecx
mov eax, dword [edx + esi*4]
push eax
nop
call fcn.0061f7cc
add esp, 8
test eax, eax
je 0x4f101d
dec esi
jns 0x4f0ffe
jmp 0x4f1022
cmp esi, 0xffffffff
jne 0x4f1047
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x50]
call fcn.0051b334
mov ecx, dword [esp + 0x78]
push 1
push ecx
lea ecx, [esp + 0x78]
call fcn.004a6b80
jmp 0x4f104e
mov eax, dword [esp + 0x74]
inc dword [eax + esi*4]
mov eax, dword [esp + 0x38]
inc edi
cmp edi, eax
jl 0x4f0f86
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x9c]
push ebx
mov ecx, dword [ecx]
push edx
push eax
call fcn.004ee470
mov ecx, eax
call fcn.0047bbf0
lea ecx, [esp + ebx*4 + 0x190]
push eax
mov byte [esp + 0xb9c], 0xa
call fcn.0051afc2
lea ecx, [esp + 0x9c]
mov byte [esp + 0xb98], 8
call fcn.0051af0e
mov ecx, dword [esp + 0x78]
mov dword [esp + ebx*4 + 0xf0], 2
test ecx, ecx
je 0x4f13e8
mov eax, 1
xor esi, esi
cmp ecx, eax
jle 0x4f10ec
mov edi, dword [esp + 0x74]
xor edx, edx
mov ebp, dword [edi + eax*4]
lea ecx, [eax*4]
cmp ebp, dword [edi + edx]
jle 0x4f10df
mov esi, eax
mov edx, ecx
mov ecx, dword [esp + 0x78]
inc eax
cmp eax, ecx
jl 0x4f10cc
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x4c]
lea ecx, [esp + ebx*4 + 0x190]
lea eax, [edx + esi*4]
push eax
call fcn.0051afc2
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x50]
call fcn.0051af8c
mov eax, dword [esp + 0x38]
xor esi, esi
test eax, eax
mov dword [esp + 0x10], esi
jle 0x4f13b3
jmp 0x4f1129
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x44]
push ebx
push ecx
mov ecx, dword [eax + esi*4]
push edx
call fcn.004ee470
mov ecx, eax
call fcn.0047bbf0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb9c], 0xb
call fcn.0051afc2
lea ecx, [esp + 0x44]
mov byte [esp + 0xb98], 8
call fcn.0051af0e
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [edx + esi*4]
call fcn.004ee410
mov ebx, eax
test ebx, ebx
je 0x4f1396
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
push ecx
lea eax, [esp + eax*4 + 0x194]
mov eax, dword [eax]
push eax
nop
call fcn.0061f7d5
add esp, 8
test eax, eax
jne 0x4f138e
mov edx, dword [ebx + 0x10]
lea esi, [ebx + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x4f1396
mov eax, dword [esp + 0x50]
lea edi, [eax - 1]
test edi, edi
jl 0x4f11e9
mov ebp, dword [0x62342c]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esi]
push eax
mov ecx, dword [ecx + edi*4]
push ecx
call ebp
add esp, 8
test eax, eax
je 0x4f11e4
dec edi
jns 0x4f11cb
jmp 0x4f11e9
cmp edi, 0xffffffff
jne 0x4f11f8
mov edx, dword [esp + 0x50]
push esi
push edx
lea ecx, [esp + 0x50]
call fcn.0051b334
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx + edx*4]
push eax
call fcn.004ee470
mov ecx, dword [str.MONOCH]
mov ebp, eax
mov eax, dword [esi]
push ecx
push eax
xor edi, edi
nop
call fcn.0061f7e7
add esp, 8
test eax, eax
je 0x4f134b
mov edx, dword [esp + 0xbb0]
mov edi, dword [edx + 8]
dec edi
js 0x4f1263
mov eax, dword [esp + 0xbb0]
mov ecx, dword [eax + 4]
lea eax, [ecx + edi*4]
mov ecx, dword [esi]
push ecx
mov eax, dword [eax]
push eax
nop
call fcn.0061f7f0
add esp, 8
test eax, eax
je 0x4f125e
dec edi
jns 0x4f1239
jmp 0x4f1263
cmp edi, 0xffffffff
jne 0x4f1274
mov ecx, dword [esp + 0xbb0]
push esi
mov eax, dword [ecx + 8]
push eax
call fcn.0051b334
mov edx, dword [esp + 0x18]
mov edi, dword [edx + 8]
dec edi
js 0x4f129e
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
lea eax, [ecx + edi*4]
mov ecx, dword [esi]
push ecx
mov eax, dword [eax]
push eax
nop
call fcn.0061f7f9
add esp, 8
test eax, eax
je 0x4f12a1
dec edi
jns 0x4f127e
or edi, 0xffffffff
inc edi
test edi, edi
jne 0x4f12b5
mov ecx, dword [esp + 0x18]
push esi
mov edi, dword [ecx + 8]
push edi
call fcn.0051b334
inc edi
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 8]
mov edx, dword [ecx + 8]
cmp eax, edx
jg 0x4f134b
lea ecx, [esp + 0xc8]
mov dword [esp + 0x2c], 0
call fcn.004705c0
mov dword [esp + 0xc8], 0x5315f4
push 0x32
push 0
lea ecx, [esp + 0xd0]
mov byte [esp + 0xba0], 0xc
call fcn.004ecdd0
mov esi, dword [esp + 0x24]
lea edx, [esp + 0xc8]
push edx
mov ecx, esi
call fcn.004f2a40
mov eax, dword [esi + 8]
cmp eax, 1
jle 0x4f1337
mov ecx, dword [esi + 4]
lea eax, [eax + eax*4]
mov edx, dword [ecx + 8]
lea ecx, [ecx + eax*4 - 0x14]
push edx
lea edx, [esp + 0x30]
push edx
push 0
call fcn.004045d0
lea ecx, [esp + 0xc8]
mov byte [esp + 0xb98], 8
call fcn.00403da0
mov eax, dword [ebp + 8]
xor ecx, ecx
test eax, eax
jle 0x4f1396
lea edi, [edi + edi*4]
mov eax, dword [ebx + 0x12c]
mov edx, dword [ebx + 0x240]
mov esi, dword [eax]
mov eax, dword [ebp + 4]
mov eax, dword [eax + ecx*4]
imul eax, esi
imul eax, edx
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 4]
mov edx, dword [edx + edi*4 + 4]
mov esi, dword [edx + ecx*4]
add esi, eax
mov dword [edx + ecx*4], esi
mov eax, dword [ebp + 8]
inc ecx
cmp ecx, eax
jl 0x4f1357
jmp 0x4f1396
lea ecx, [ebx + 0x10]
call fcn.0051b268
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4f1121
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4f13e8
cmp eax, 1
jne 0x4f13f3
mov eax, dword [esp + 0x4c]
mov ecx, dword [str.MONOCH]
push ecx
mov eax, dword [eax]
push eax
nop
call fcn.0061f802
add esp, 8
test eax, eax
jne 0x4f13f3
mov dword [esp + ebx*4 + 0xf0], 1
jmp 0x4f13f3
mov dword [esp + ebx*4 + 0xf0], 0
lea ecx, [esp + 0x28]
mov byte [esp + 0xb98], 7
call fcn.0051af0e
lea ecx, [esp + 0x70]
mov byte [esp + 0xb98], 5
mov dword [esp + 0x70], 0x534020
call fcn.00403e20
mov esi, 0x531584
lea ecx, [esp + 0x48]
mov byte [esp + 0xb98], 3
mov dword [esp + 0x48], esi
call fcn.0051af86
inc ebx
add ebp, 0x3c
cmp ebx, 0x28
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
jl 0x4f0e8e
lea ecx, [esp + 0x84]
call fcn.00407a00
push 0xa
push 0
lea ecx, [esp + 0x8c]
mov byte [esp + 0xba0], 0xd
mov dword [esp + 0x8c], 0x531cd8
call fcn.004ecdd0
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb98], 0xe
call fcn.0051af80
mov dword [esp + 0x5c], esi
xor eax, eax
mov byte [esp + 0xb98], 0xf
mov dword [esp + 0x20], eax
mov edx, dword [esp + eax*4 + 0x190]
lea esi, [esp + eax*4 + 0x190]
mov eax, dword [edx - 8]
test eax, eax
je 0x4f1582
mov ebx, dword [esp + 0xba8]
mov edi, dword [ebx + 8]
dec edi
js 0x4f14e9
mov ebp, dword [0x623430]
mov eax, dword [ebx + 4]
mov ecx, dword [esi]
push ecx
lea eax, [eax + edi*4]
mov eax, dword [eax]
push eax
call ebp
add esp, 8
test eax, eax
je 0x4f14e4
dec edi
jns 0x4f14ca
jmp 0x4f14e9
cmp edi, 0xffffffff
jne 0x4f1523
mov eax, dword [ebx + 8]
push esi
push eax
mov ecx, ebx
call fcn.0051b334
mov ebp, dword [esp + 0xbac]
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
mov edi, dword [ebp + 8]
mov ebx, dword [esp + ecx*4 + 0xf4]
mov ecx, ebp
lea edx, [edi + 1]
push edx
call fcn.004ecdd0
mov eax, dword [ebp + 4]
mov ebp, dword [0x623434]
mov dword [eax + edi*4], ebx
mov ecx, dword [esp + 0x64]
lea edi, [ecx - 1]
test edi, edi
jl 0x4f154c
mov edx, dword [esp + 0x60]
mov eax, dword [esi]
push eax
mov ecx, dword [edx + edi*4]
push ecx
call ebp
add esp, 8
test eax, eax
je 0x4f1547
dec edi
jns 0x4f152e
jmp 0x4f154c
cmp edi, 0xffffffff
jne 0x4f1582
mov eax, dword [esp + 0x64]
push esi
push eax
lea ecx, [esp + 0x64]
call fcn.0051b334
mov eax, dword [esp + 0x8c]
push 0xffffffffffffffff
mov esi, eax
inc eax
push eax
lea ecx, [esp + 0x8c]
call fcn.004ecdd0
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x20]
mov dword [ecx + esi*4], edx
mov eax, dword [esp + 0x20]
inc eax
cmp eax, 0x28
mov dword [esp + 0x20], eax
jl 0x4f149e
mov ecx, dword [esp + 0xbb4]
test ecx, ecx
je 0x4f15bf
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x5c]
lea edx, [esp + 0x84]
push eax
push edx
push esi
call fcn.004ee470
mov ecx, eax
call fcn.0047bc60
jmp 0x4f15c3
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp + 8]
test eax, eax
je 0x4f1889
push ebp
lea ecx, [esp + 0x60]
call fcn.0051afda
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x2c], 0
push 0xffffffffffffffff
mov ecx, dword [eax + 0x70]
push 0
mov edx, dword [ecx + esi*4]
lea esi, [ebp + 0x28]
mov ecx, esi
mov edi, dword [edx + 0x1c]
call fcn.00404860
push 0xffffffffffffffff
push 0
mov ecx, ebp
call fcn.0051af8c
push 0xffffffffffffffff
push 0
lea ecx, [ebp + 0x14]
call fcn.0051af8c
lea ecx, [esp + 0xb4]
call fcn.00403d80
lea eax, [esp + 0x2c]
push edi
push eax
push 0
lea ecx, [esp + 0xc0]
mov byte [esp + 0xba4], 0x10
call fcn.004045d0
lea ecx, [esp + 0xb4]
push ebx
push ecx
push 0
mov ecx, esi
call fcn.004040b0
lea ecx, [esp + 0xb4]
mov byte [esp + 0xb98], 0xf
mov dword [esp + 0xb4], 0x5315f4
call fcn.00404800
lea edx, [esp + 0x5c]
mov ecx, ebp
push edx
call fcn.0051afda
mov ecx, dword [ebp + 8]
xor eax, eax
test ecx, ecx
jle 0x4f16f3
xor edi, edi
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x4f1699
mov ecx, dword [ebp + 0x2c]
mov ecx, dword [ecx + 8]
jmp 0x4f169b
xor ecx, ecx
cmp edi, ecx
jge 0x4f16eb
xor esi, esi
lea ecx, [esp + 0x25c]
mov dword [esp + 0x10], 0x28
mov ebx, dword [ecx + 4]
lea edx, [eax + 1]
cmp ebx, edx
jle 0x4f16cc
mov ebx, dword [ecx]
lea edx, [eax + eax*4]
mov edx, dword [ebx + edx*4 + 0x18]
mov edx, dword [edx + edi*4]
cmp esi, edx
jg 0x4f16cc
mov esi, edx
mov edx, dword [esp + 0x10]
add ecx, 0x3c
dec edx
mov dword [esp + 0x10], edx
jne 0x4f16b0
mov edx, dword [ebp + 0x2c]
lea ecx, [eax + eax*4]
inc edi
mov ecx, dword [edx + ecx*4 + 4]
mov dword [ecx + edi*4 - 4], esi
jmp 0x4f168a
mov ecx, dword [ebp + 8]
inc eax
cmp eax, ecx
jl 0x4f1688
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb98], 0xe
mov dword [esp + 0x5c], 0x531584
call fcn.0051af86
mov dword [esp + 0x84], 0x5315ac
mov eax, dword [esp + 0x88]
mov byte [esp + 0xb98], 0x12
test eax, eax
je 0x4f1733
push eax
call fcn.0051aee4
add esp, 4
push fcn.00434110
push 0x28
lea ecx, [esp + 0x238]
mov esi, 0x53138c
push 0x3c
push ecx
mov dword [esp + 0x94], esi
mov byte [esp + 0xba8], 2
call fcn.0051beb0
push fcn.0051af0e
push 0x28
lea edx, [esp + 0x198]
push 4
push edx
mov byte [esp + 0xba8], 0
call fcn.0051beb0
mov dword [esp + 0x30], 0x533ff8
mov eax, dword [esp + 0x34]
mov dword [esp + 0xb98], 0x13
test eax, eax
je 0x4f179f
push eax
call fcn.0051aee4
add esp, 4
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0xba8]
mov dword [esp + 0xb98], 0xffffffff
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x1c]
inc ebx
mov dword [esp + 0x14], ebx
mov esi, eax
cmp ebx, dword [eax + 0x74]
jl 0x4f0d41
xor edi, edi
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x14], edi
cmp eax, edi
jle 0x4f19ee
mov ecx, dword [esi + 0x48]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xba0]
mov ebx, dword [ecx + edx*4]
push eax
mov ecx, ebx
call fcn.004ef220
test al, al
je 0x4f19da
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.004ee3e0
test eax, eax
jle 0x4f19da
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.004ee3f0
add eax, 0xc0
lea ecx, [esp + 0x10]
push eax
call fcn.0051b01c
mov edx, dword [0x53b6b0]
mov eax, dword [esp + 0x10]
push edx
push eax
mov dword [esp + 0xba0], 0x14
nop
call fcn.0061f81d
add esp, 8
test eax, eax
je 0x4f19a8
mov esi, dword [ebp + 8]
dec esi
js 0x4f1977
mov edi, dword [0x623438]
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x10]
push edx
lea eax, [ecx + esi*4]
mov eax, dword [ecx + esi*4]
push eax
call edi
add esp, 8
test eax, eax
je 0x4f1972
dec esi
jns 0x4f1865
jmp 0x4f1977
mov edx, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esp + 0x2c], ebx
push 0xffffffffffffffff
mov eax, dword [edx + 0x70]
push ebx
mov ecx, dword [eax + esi*4]
lea esi, [ebp + 0x28]
mov edi, dword [ecx + 0x1c]
mov ecx, esi
call fcn.00404860
push 0xffffffffffffffff
push ebx
mov ecx, ebp
call fcn.0051af8c
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0x14]
call fcn.0051af8c
lea ecx, [esp + 0xa0]
call fcn.004705c0
mov dword [esp + 0xa0], 0x5315f4
lea edx, [esp + 0x2c]
push edi
push edx
push ebx
lea ecx, [esp + 0xac]
mov byte [esp + 0xba4], 0x11
call fcn.004045d0
lea eax, [esp + 0xa0]
push 1
push eax
push ebx
mov ecx, esi
call fcn.004040b0
lea ecx, [esp + 0xa0]
mov byte [esp + 0xb98], 0xf
call fcn.00403da0
mov eax, dword [ebp + 8]
push 0x5599d4
push eax
mov ecx, ebp
call fcn.0051b478
xor esi, esi
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x4f1937
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax + 8]
jmp 0x4f1939
xor eax, eax
cmp ebx, eax
jge 0x4f16f3
xor ecx, ecx
lea edx, [esp + 0x25c]
mov edi, 0x28
mov eax, dword [edx]
mov eax, dword [eax + 4]
add eax, esi
cmp ecx, dword [eax]
jg 0x4f195c
mov ecx, dword [eax]
add edx, 0x3c
dec edi
jne 0x4f194f
mov edx, dword [ebp + 0x2c]
inc ebx
add esi, 4
mov eax, dword [edx + 4]
mov dword [eax + esi - 4], ecx
jmp 0x4f1928
cmp esi, 0xffffffff
jne 0x4f19a8
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, ebp
call fcn.0051b334
mov edi, dword [esp + 0xbac]
push 0xffffffffffffffff
mov ecx, edi
mov esi, dword [edi + 8]
lea edx, [esi + 1]
push edx
call fcn.004ecdd0
mov eax, dword [edi + 4]
mov dword [eax + esi*4], 2
lea ecx, [esp + 0x10]
mov dword [esp + 0xb98], 0xffffffff
call fcn.0051af0e
mov esi, dword [esp + 0x18]
mov ecx, ebx
inc esi
mov dword [esp + 0x18], esi
call fcn.004ee3e0
cmp esi, eax
jl 0x4f1812
mov esi, dword [esp + 0x1c]
xor edi, edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x4c]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4f17de
mov eax, dword [esi + 0x74]
mov dword [esp + 0x14], edi
cmp eax, edi
jle 0x4f1c40
jmp 0x4f1a03
mov esi, dword [esp + 0x1c]
push fcn.0051af0e
push fcn.0051af14
push 0x28
lea ecx, [esp + 0xfc]
push 4
push ecx
call fcn.0051bfa4
mov eax, dword [esi + 0x70]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xf0]
mov dword [esp + 0xb98], 0x15
mov ecx, dword [eax + ecx*4]
push edx
call fcn.0047cb50
lea ebx, [esp + 0xf0]
mov dword [esp + 0x24], 0x28
mov dword [esp + 0x18], ebx
mov edx, dword [ebx]
mov eax, dword [edx - 8]
test eax, eax
je 0x4f1bf1
mov esi, dword [ebp + 8]
dec esi
js 0x4f1a8f
mov edi, dword [0x62343c]
mov eax, dword [ebp + 4]
mov ecx, dword [ebx]
push ecx
lea eax, [eax + esi*4]
mov eax, dword [eax]
push eax
call edi
add esp, 8
test eax, eax
je 0x4f1a86
dec esi
jns 0x4f1a6c
jmp 0x4f1a8f
cmp esi, 0xffffffff
jne 0x4f1bf1
mov ecx, dword [esp + 0xba8]
push ebx
mov eax, dword [ecx + 8]
push eax
call fcn.0051b334
mov esi, dword [esp + 0xbac]
xor edi, edi
mov eax, dword [esi + 8]
mov ebp, eax
mov dword [esp + 0x2c], ebp
inc ebp
cmp ebp, edi
jne 0x4f1ad9
mov ecx, dword [esi + 4]
cmp ecx, edi
je 0x4f1ace
push ecx
mov dword [esp + 0x48], eax
call fcn.0051aee4
add esp, 4
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
jmp 0x4f1bdc
mov edx, dword [esi + 4]
cmp edx, edi
jne 0x4f1b14
lea edi, [ebp*4]
push edi
call fcn.0051af44
mov edx, eax
mov ecx, edi
mov dword [esi + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [esi + 0xc], ebp
mov dword [esi + 8], ebp
jmp 0x4f1bdc
mov edi, dword [esi + 0xc]
cmp ebp, edi
jg 0x4f1b42
cmp eax, ebp
jge 0x4f1b32
mov ecx, ebp
lea edi, [edx + eax*4]
sub ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [esi + 8], ebp
jmp 0x4f1bdc
jle 0x4f1b3a
sub eax, ebp
mov dword [esp + 0x44], eax
mov dword [esi + 8], ebp
jmp 0x4f1bdc
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4f1b6d
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x4f1b60
mov ecx, 4
jmp 0x4f1b6d
cmp ecx, 0x400
jle 0x4f1b6d
mov ecx, 0x400
lea eax, [ecx + edi]
cmp ebp, eax
mov dword [esp + 0x10], eax
jl 0x4f1b7c
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x10]
lea ecx, [eax*4]
push ecx
call fcn.0051af44
mov ebx, eax
mov eax, dword [esp + 0xbb0]
mov edi, ebx
mov ecx, dword [eax + 8]
mov esi, dword [eax + 4]
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, eax
mov ecx, ebp
mov eax, dword [esi + 8]
sub ecx, eax
lea edi, [ebx + eax*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esi + 4]
push eax
call fcn.0051aee4
mov eax, dword [esp + 0x18]
mov dword [esi + 4], ebx
mov ebx, dword [esp + 0x20]
add esp, 8
mov dword [esi + 8], ebp
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0xba8]
mov dword [ecx + edx*4], 0
mov eax, dword [esp + 0x24]
add ebx, 4
dec eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], eax
jne 0x4f1a53
push fcn.0051af0e
push 0x28
lea eax, [esp + 0xf8]
push 4
push eax
mov dword [esp + 0xba8], 0xffffffff
call fcn.0051beb0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
inc eax
mov edx, dword [ecx + 0x74]
mov dword [esp + 0x14], eax
cmp eax, edx
jl 0x4f19ff
mov ecx, dword [esp + 0xb90]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0xb8c
ret 0x18