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

Disassembly:
sub esp, 0x8c
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
push edi
mov edi, dword [esp + 0x9c]
mov ebp, dword [edi + 0xc]
mov ecx, dword [edi]
xor edx, edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
cmp ebp, edx
jne 0x4e2a0e
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x8c
ret
push esi
mov esi, dword [esp + 0xa4]
mov eax, 0x62
cmp esi, edx
je 0x4e2a22
movzx eax, byte [esi]
mov dword [esp + 0x10], eax
add eax, 0xffffffed
cmp eax, 0x87
ja case.0x4e2a3b.21
movzx eax, byte [eax + 0x4e3b00]
jmp dword [eax*4 + 0x4e3aa0]
movsx ecx, word [esi + 0x1e]
mov eax, dword [esi + 0x24]
cmp byte [eax], 0
mov edx, dword [eax + 0x10]
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*8]
jne 0x4e2a69
mov eax, dword [ecx + 0x10]
pop esi
pop edi
pop ebp
mov dword [esp + 0x1c], eax
pop ebx
add esp, 0x8c
ret
cmp byte [eax + 1], 0
je 0x4e2a93
mov ecx, dword [ecx + 0xc]
mov edx, dword [eax + 4]
push ebx
push ecx
push edx
push 3
mov eax, ebp
call fcn.004bc180
mov eax, dword [esp + 0x38]
add esp, 0x10
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
xor edx, edx
mov ecx, dword [esi + 0x18]
cmp ecx, edx
jge 0x4e2ab2
movsx eax, word [esi + 0x1c]
add eax, dword [edi + 0x50]
pop esi
pop edi
pop ebp
mov dword [esp + 0x1c], eax
pop ebx
add esp, 0x8c
ret
movzx eax, word [esi + 2]
mov edx, dword [esi + 0x28]
push ebx
push ecx
movsx ecx, word [esi + 0x1c]
push ecx
push edx
and eax, 0x200
push edi
call fcn.004df030
add esp, 0x14
pop esi
pop edi
pop ebp
mov dword [esp + 0x1c], eax
pop ebx
add esp, 0x8c
ret
push ebx
push ebp
xor ecx, ecx
mov eax, esi
call fcn.004c3470
mov eax, dword [esp + 0x30]
add esp, 8
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
mov eax, dword [esi + 4]
push ebx
push 0
push ebp
call fcn.004c3330
mov eax, dword [esp + 0x34]
add esp, 0xc
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
mov eax, dword [esi + 4]
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov dword [esp + 0x14], eax
jg 0x4e2b3c
mov edi, ebp
call fcn.004bc100
test eax, eax
je 0x4e2b3c
mov eax, 1
xor ecx, ecx
jmp 0x4e2b65
mov edx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
xor ecx, ecx
mov byte [eax], 0x5e
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x6e], cl
mov eax, esi
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp]
cmp esi, ecx
je 0x4e2bd9
cmp byte [edi + 0x1e], 0
jne 0x4e2bd9
cmp eax, ecx
jge 0x4e2b7d
mov eax, dword [ebp + 0xc]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*4 + 0x10]
lea esi, [esi + eax*4]
movsx eax, byte [esi + 1]
call fcn.004bc5c0
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esi + 0x10], eax
cmp ecx, eax
jne 0x4e2bb2
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
mov eax, dword [esp + 0x28]
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
call fcn.004af2b0
mov edx, dword [ebp]
mov edi, eax
mov ebx, ecx
call fcn.004b9c30
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x28]
mov byte [esi + 1], 0xff
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
mov ecx, dword [esp + 0x14]
xor eax, eax
call fcn.004bc5c0
mov eax, dword [esp + 0x28]
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
push ebx
push 0
push 0x77
mov eax, ebp
call fcn.004bc280
mov eax, dword [esp + 0x34]
add esp, 0xc
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
mov ecx, dword [esi + 4]
add ecx, 2
call fcn.004af2b0
mov esi, eax
mov eax, dword [ebp]
dec esi
push esi
push eax
mov edi, ecx
call fcn.004b9f10
push 0xffffffffffffffff
push eax
mov eax, esi
cdq
sub eax, edx
mov edx, eax
sar edx, 1
push 0x79
xor eax, eax
mov ecx, ebx
mov edi, ebp
call fcn.004c2560
mov eax, dword [esp + 0x3c]
add esp, 0x14
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
mov ecx, dword [esi + 4]
cmp byte [ecx + 1], dl
jne 0x4e2cad
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp]
dec eax
cmp byte [ecx + 0x1e], dl
je 0x4e2c71
mov eax, 0x5caec0
jmp 0x4e2c7a
mov ecx, dword [ebp + 0x14]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
cmp byte [eax], 0x1b
jne 0x4e2cad
mov ecx, dword [eax + 0xc]
mov edi, dword [eax + 4]
add edi, ecx
cmp edi, dword [esi + 0x18]
jne 0x4e2cad
mov edi, dword [eax + 8]
add edi, ecx
cmp edi, ebx
jne 0x4e2cad
cmp dword [eax + 0x10], edx
jne 0x4e2cad
pop esi
pop edi
inc ecx
pop ebp
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x1c]
pop ebx
add esp, 0x8c
ret
mov edx, dword [esi + 0x18]
push 1
push ebx
push edx
push 0x1b
mov eax, ebp
call fcn.004bc180
mov ebx, dword [esi + 4]
add esp, 0x10
cmp byte [ebx + 1], 0
je 0x4e3a78
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp]
test ecx, ecx
je 0x4e2d38
cmp byte [edi + 0x1e], 0
jne 0x4e2d38
mov eax, dword [ebp + 0xc]
dec eax
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.004bc5c0
xor eax, eax
mov dword [esi + 0x10], eax
cmp ebx, eax
jne 0x4e2d11
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
mov eax, dword [esp + 0x28]
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
mov ecx, ebx
call fcn.004af2b0
mov edx, dword [ebp]
mov edi, eax
call fcn.004b9c30
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x28]
mov byte [esi + 1], 0xff
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
mov ecx, ebx
xor eax, eax
call fcn.004bc5c0
mov eax, dword [esp + 0x28]
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
mov ecx, dword [esi + 0x18]
pop esi
pop edi
pop ebp
mov dword [esp + 0x1c], ecx
mov eax, ecx
pop ebx
add esp, 0x8c
ret
mov esi, dword [esi + 8]
push ebx
push esi
push edi
call fcn.004e29d0
add esp, 0xc
pop esi
pop edi
pop ebp
mov dword [esp + 0x1c], eax
pop ebx
add esp, 0x8c
ret
mov edx, dword [esi + 8]
push ebx
push edx
push edi
call fcn.004e29d0
mov edi, eax
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [esp + 0x28], edi
call fcn.004b5be0
movsx esi, al
add esi, 0x2c
cmp edi, ebx
je 0x4e2db9
push ebx
push edi
push 9
mov eax, ebp
call fcn.004bc280
add esp, 0xc
mov dword [esp + 0x28], ebx
mov edi, dword [esp + 0x28]
push edi
push esi
mov eax, ebp
call fcn.004bc230
mov eax, dword [esp + 0xa8]
push eax
mov eax, 1
mov esi, edi
call fcn.004b5620
add esp, 0xc
pop esi
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esi + 8]
mov edx, edi
call fcn.004c2970
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
push 0x10
push ebx
push edx
push eax
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
push edi
call fcn.004d4060
add esp, 0x28
jmp 0x4e3a1c
lea edx, [esp + 0x18]
mov edi, esi
mov ecx, dword [edi + 8]
mov esi, dword [esp + 0xa0]
push edx
call fcn.004bd6c0
mov ecx, dword [edi + 0xc]
mov ebx, eax
lea eax, [esp + 0x20]
push eax
call fcn.004bd6c0
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x18]
push ecx
push ebx
push eax
push edx
mov eax, ebp
call fcn.004bc180
add esp, 0x18
mov edi, esi
jmp 0x4e3a1c
mov esi, dword [esi + 8]
mov al, byte [esi]
cmp al, 0x82
jne 0x4e2e97
mov eax, dword [esi + 4]
push ebx
push 1
push ebp
call fcn.004c3330
add esp, 0xc
mov dword [esp + 0x28], ebx
jmp 0x4e3a1c
cmp al, 0x81
jne 0x4e2eb5
push ebx
push ebp
mov ecx, 1
mov eax, esi
call fcn.004c3470
add esp, 8
mov dword [esp + 0x28], ebx
jmp 0x4e3a1c
mov esi, edi
mov eax, esi
call fcn.004b57b0
mov edi, eax
push edi
push 0
push 0x30
mov eax, ebp
mov dword [esp + 0x24], edi
call fcn.004bc280
mov ecx, dword [esp + 0xb0]
mov ecx, dword [ecx + 8]
lea eax, [esp + 0x28]
push eax
call fcn.004bd6c0
mov edx, ebx
push edx
push edi
push eax
push 0x55
mov eax, ebp
call fcn.004bc180
add esp, 0x20
mov edi, esi
mov dword [esp + 0x28], ebx
jmp 0x4e3a1c
lea eax, [esp + 0x18]
mov ecx, esi
mov ecx, dword [ecx + 8]
push eax
mov esi, edi
call fcn.004bd6c0
mov edx, dword [esp + 0x14]
mov ecx, ebx
push ecx
push eax
push edx
mov eax, ebp
mov dword [esp + 0x38], ecx
call fcn.004bc280
add esp, 0x10
jmp 0x4e3a1c
mov edi, ebx
push edi
push 1
push 0x30
mov eax, ebp
call fcn.004bc280
lea eax, [esp + 0x24]
mov ecx, esi
mov ecx, dword [ecx + 8]
mov esi, dword [esp + 0xac]
push eax
call fcn.004bd6c0
mov edx, dword [esp + 0x20]
push eax
push edx
mov eax, ebp
call fcn.004bc230
push 0xffffffffffffffff
mov esi, eax
push edi
push 0x2a
mov eax, ebp
call fcn.004bc280
mov eax, dword [ebp + 0xc]
mov edi, dword [esp + 0xc4]
add esp, 0x24
cmp eax, esi
jle 0x4e3a1c
mov edx, dword [ebp + 0x14]
lea ecx, [esi + esi*4]
mov dword [edx + ecx*4 + 8], eax
jmp 0x4e3a1c
mov eax, dword [esi + 0x24]
cmp eax, edx
jne 0x4e2fbb
mov eax, esi
mov ecx, dword [eax + 4]
push ecx
push str.misuse_of_aggregate:__s__
mov esi, edi
call fcn.004c10f0
mov eax, dword [esp + 0x30]
add esp, 8
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
movsx edx, word [esi + 0x1e]
mov eax, dword [eax + 0x20]
pop esi
pop edi
shl edx, 4
mov ecx, dword [edx + eax + 8]
pop ebp
mov dword [esp + 0x1c], ecx
mov eax, ecx
pop ebx
add esp, 0x8c
ret
mov eax, dword [ecx + 8]
mov ecx, dword [eax + 0xc]
mov al, byte [ecx + 0x39]
mov ecx, 0x4000
mov dword [esp + 0x14], edx
mov byte [esp + 0x18], al
mov dword [esp + 0x10], edx
test word [esi + 2], cx
je 0x4e3055
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], edx
mov ebx, edx
mov ecx, dword [esi + 4]
call fcn.004af2b0
mov edx, dword [esp + 0x18]
push 0
push edx
push ebx
push eax
mov eax, dword [esp + 0x30]
push ecx
push eax
call fcn.004c4660
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
add esp, 0x18
test eax, eax
je 0x4e3068
push ebx
mov ebx, edi
call fcn.004b5800
push 1
push eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
push edi
call fcn.004c9fa0
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
add esp, 0x10
jmp 0x4e3070
mov eax, dword [esi + 0x10]
mov dword [esp + 0x24], eax
cmp eax, edx
je 0x4e2ffe
mov ebx, dword [eax]
mov dword [esp + 0x1c], ebx
jmp 0x4e3004
mov dword [esp + 0x2c], 0
cmp ebx, 2
jl 0x4e308e
test byte [esi + 2], 0x80
je 0x4e308e
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push ebx
push edx
push eax
mov eax, dword [ecx + 0x14]
jmp 0x4e30a2
test ebx, ebx
jle 0x4e30ae
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push ebx
push edx
push eax
mov eax, dword [ecx]
call fcn.004c7190
mov dword [esp + 0x24], eax
add esp, 0xc
xor esi, esi
test ebx, ebx
jle 0x4e310f
xor ebx, ebx
cmp esi, 0x20
jge 0x4e30db
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + ebx]
call fcn.004bd4c0
test eax, eax
je 0x4e30db
mov eax, 1
mov ecx, esi
shl eax, cl
or dword [esp + 0x14], eax
mov ecx, dword [esp + 0x18]
test byte [ecx + 3], 8
je 0x4e3101
cmp dword [esp + 0x10], 0
jne 0x4e3101
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0xc]
mov eax, dword [eax + ebx]
mov ecx, edi
call fcn.004d3f50
mov dword [esp + 0x10], eax
inc esi
add ebx, 0x14
cmp esi, dword [esp + 0x1c]
jl 0x4e30b6
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test byte [ecx + 3], 8
je 0x4e31cd
cmp dword [esp + 0x10], 0
jne 0x4e312f
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x10], eax
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x4e314b
mov edi, ebp
call fcn.004bc100
test eax, eax
je 0x4e314b
mov eax, 1
xor ebx, ebx
jmp 0x4e3174
mov edx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
xor ebx, ebx
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov byte [eax], 0xc
mov byte [eax + 3], 0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x6e], bl
mov eax, esi
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp]
cmp ecx, ebx
je 0x4e31bb
cmp byte [edi + 0x1e], 0
jne 0x4e31bb
cmp eax, ebx
jge 0x4e318c
mov eax, dword [ebp + 0xc]
dec eax
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.004bc5c0
mov eax, dword [esp + 0x10]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x4e31b2
mov dword [esi + 0x10], ebx
mov byte [esi + 1], 0
jmp 0x4e31c9
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfc
jmp 0x4e31c9
mov ecx, dword [esp + 0x10]
mov eax, 0xfffffffc
call fcn.004bc5c0
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x4e31e7
mov edi, ebp
call fcn.004bc100
test eax, eax
je 0x4e31e7
mov eax, 1
jmp 0x4e3223
mov edx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xa8]
mov byte [eax], 0x16
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [ebp + 0x6e], 0
mov eax, esi
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp]
test esi, esi
je 0x4e325c
cmp byte [edi + 0x1e], 0
jne 0x4e325c
test eax, eax
jge 0x4e323b
mov eax, dword [ebp + 0xc]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [esi + edx*4 + 1]
mov ecx, dword [esi + edx*4 + 0x10]
lea esi, [esi + edx*4]
call fcn.004bc5c0
mov eax, dword [esp + 0x18]
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfb
jmp 0x4e326a
mov ecx, dword [esp + 0x18]
mov eax, 0xfffffffb
call fcn.004bc5c0
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4e327c
mov ebp, dword [ebp + 0xc]
lea ecx, [ebp + ebp*4]
mov byte [eax + ecx*4 - 0x11], bl
test ebx, ebx
je 0x4e3296
mov eax, dword [esp + 0xa0]
cmp ebx, dword [eax + 0x38]
jle 0x4e3296
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x38], ebx
mov dword [eax + 0x3c], edx
mov eax, dword [esp + 0xa0]
mov esi, dword [esp + 0x2c]
push eax
mov eax, ebx
call fcn.004b5620
mov eax, dword [esp + 0x2c]
add esp, 4
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
push 0
push 0
push esi
push edi
call fcn.004d41d0
movsx ecx, word [esi + 0x1c]
add esp, 0x10
pop esi
pop edi
pop ebp
mov dword [esp + 0x1c], ecx
mov eax, ecx
pop ebx
add esp, 0x8c
ret
lea edx, [esp + 0x14]
push edx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
call fcn.004e2640
add esp, 0xc
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], ebx
je 0x4e330b
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
mov dword [esp + 0x20], eax
mov ebx, esi
call fcn.004bd0c0
inc dword [edi + 0x54]
mov esi, dword [esp + 0xa8]
mov byte [esp + 0x33], al
mov eax, dword [ebx + 8]
call fcn.004bd740
push esi
push 0x47
mov eax, ebp
call fcn.004bc230
add esp, 8
cmp dword [esp + 0x10], 1
mov dword [esp + 0x24], eax
jne 0x4e33a6
push esi
push 0x26
mov eax, ebp
call fcn.004bc230
mov ecx, dword [ebx + 0x18]
push esi
push 0
push ecx
mov edi, eax
push 0x2e
mov eax, ebp
call fcn.004bc180
push esi
mov ebx, eax
push 1
push 0x30
mov eax, ebp
call fcn.004bc280
push 0x60
mov eax, ebp
call fcn.004bc1e0
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
add esp, 0x28
cmp eax, edi
jle 0x4e338b
mov ecx, dword [ebp + 0x14]
lea edx, [edi + edi*4]
mov dword [ecx + edx*4 + 8], eax
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jle 0x4e339c
mov ecx, dword [ebp + 0x14]
lea edx, [ebx + ebx*4]
mov dword [ecx + edx*4 + 8], eax
push esi
push 0
push 0x30
jmp 0x4e35be
mov eax, edi
call fcn.004b57b0
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], ebx
mov dword [esp + 0x1c], eax
jg 0x4e33cb
mov edi, ebp
call fcn.004bc100
test eax, eax
je 0x4e33cb
mov ebx, 1
jmp 0x4e33ff
mov eax, dword [ebp + 0x14]
mov ecx, 1
add dword [ebp + 0xc], ecx
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x1c]
mov byte [eax], 0x4f
mov byte [eax + 3], 0
mov dword [eax + 4], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [ebp + 0x6e], 0
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp]
mov eax, ebx
test esi, esi
je 0x4e344e
cmp byte [edi + 0x1e], 0
jne 0x4e344e
test ebx, ebx
jge 0x4e3419
mov eax, dword [ebp + 0xc]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [esi + edx*4 + 1]
mov ecx, dword [esi + edx*4 + 0x10]
lea esi, [esi + edx*4]
call fcn.004bc5c0
mov dword [esi + 0x10], 0
mov edx, dword [ebp]
mov edi, 1
lea ebx, [esp + 0x33]
call fcn.004b9c30
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xff
jmp 0x4e345c
lea ecx, [esp + 0x33]
mov eax, 1
call fcn.004bc5c0
mov edi, dword [esp + 0xa8]
push edi
push 1
push 0x30
mov eax, ebp
call fcn.004bc280
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx + 0x18]
push eax
push 0
push edx
push 0x80
mov eax, ebp
call fcn.004bc180
mov esi, eax
add esp, 0x1c
cmp dword [esp + 0x20], 0
mov dword [esp + 0x10], esi
mov eax, ebp
jne 0x4e34ae
push edi
push 0
push 0x30
call fcn.004bc280
jmp 0x4e35c9
mov ebx, dword [esp + 0x14]
push ebx
push 0x48
call fcn.004bc230
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
push eax
push 0
push 0x77
mov eax, ebp
call fcn.004bc280
mov esi, dword [ebp + 0xc]
add esp, 0x14
cmp dword [ebp + 0x10], esi
jg 0x4e34eb
mov edi, ebp
call fcn.004bc100
test eax, eax
je 0x4e34eb
mov esi, 1
jmp 0x4e3516
mov edx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
xor ecx, ecx
mov byte [eax], 0x79
mov byte [eax + 3], 0
mov dword [eax + 4], 2
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x6e], cl
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp]
mov eax, esi
test ecx, ecx
je 0x4e354f
cmp byte [edi + 0x1e], 0
jne 0x4e354f
test esi, esi
jge 0x4e3530
mov eax, dword [ebp + 0xc]
dec eax
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.004bc5c0
mov dword [esi + 0x10], 0x57f86c
mov byte [esi + 1], 0xfe
jmp 0x4e355e
mov ecx, 0x57f86c
mov eax, 0xfffffffe
call fcn.004bc5c0
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x18]
push ebx
push 0
push edx
push 0x80
mov eax, ebp
call fcn.004bc180
mov edi, dword [esp + 0x30]
push edi
mov esi, eax
push 0
push 0x30
mov eax, ebp
call fcn.004bc280
mov eax, dword [ebp + 0xc]
add esp, 0x1c
cmp eax, esi
jle 0x4e359e
mov edx, dword [ebp + 0x14]
lea ecx, [esi + esi*4]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jle 0x4e35b3
mov edx, dword [ebp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [esp + 0xa8]
push eax
push edi
push 0x14
mov eax, ebp
call fcn.004bc280
mov esi, dword [esp + 0x1c]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x30]
add esp, 0xc
cmp eax, ecx
jle 0x4e35e1
mov edx, dword [ebp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [ebp + 0xc]
cmp eax, esi
jle 0x4e35f2
mov edx, dword [ebp + 0x14]
lea ecx, [esi + esi*4]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [esp + 0xa0]
mov ecx, 1
call fcn.004b5580
mov edi, eax
jmp 0x4e3a49
mov eax, esi
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0x10]
mov esi, dword [eax + 0xc]
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, ebx
mov edx, edi
mov dword [esp + 0x30], eax
call fcn.004c2970
mov eax, edi
call fcn.004b57b0
mov edx, eax
mov eax, edi
mov dword [esp + 0x34], edx
call fcn.004b57b0
mov ecx, dword [esp + 0x3c]
push 0x10
push edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push 0x4e
push edi
mov ecx, ebx
call fcn.004d4060
mov edx, dword [esi + 0x14]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x48], edx
mov edx, edi
call fcn.004b57d0
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x44]
push eax
mov esi, edi
call fcn.004bd6c0
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x58]
push 0x10
push esi
push eax
mov eax, dword [esp + 0x58]
push ecx
push 0x4c
push edi
mov ecx, ebx
call fcn.004d4060
mov edx, dword [esp + 0xec]
add esp, 0x44
push edx
push esi
mov esi, dword [esp + 0x2c]
push esi
push 0x43
mov eax, ebp
call fcn.004bc180
add esp, 0x10
mov edx, edi
call fcn.004b57d0
mov esi, dword [esp + 0x10]
call fcn.004b57d0
jmp 0x4e3a1c
mov eax, dword [esi + 8]
push ebx
push eax
push edi
call fcn.004e29d0
add esp, 0xc
pop esi
pop edi
pop ebp
mov dword [esp + 0x1c], eax
pop ebx
add esp, 0x8c
ret
cmp dword [edi + 0x1e8], edx
jne 0x4e371b
push 0x583978
mov esi, edi
call fcn.004c10f0
add esp, 4
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x8c
ret
mov al, byte [esi + 1]
cmp al, 4
je 0x4e37d1
mov ecx, dword [esi + 4]
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov dword [esp + 0x14], ecx
movsx ebx, al
jg 0x4e374c
mov edi, ebp
call fcn.004bc100
test eax, eax
je 0x4e374c
mov eax, 1
xor ebx, ebx
jmp 0x4e3779
mov eax, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [eax + 8], ebx
xor ebx, ebx
mov byte [eax], 0x27
mov byte [eax + 3], 0
mov dword [eax + 4], 0x13
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x6e], bl
mov eax, esi
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp]
cmp ecx, ebx
je 0x4e2bd9
cmp byte [edi + 0x1e], 0
jne 0x4e2bd9
cmp eax, ebx
jge 0x4e3799
mov eax, dword [ebp + 0xc]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea esi, [ecx + edx*4]
mov ecx, dword [esi + 0x10]
call fcn.004bc5c0
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x10], ebx
cmp ecx, ebx
jne 0x4e2bb2
mov eax, dword [esp + 0x28]
mov dword [esi + 0x10], ebx
mov byte [esi + 1], 0
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
push 0
push 0
push 0x69
mov eax, ebp
call fcn.004bc280
mov eax, dword [edi + 0x1e8]
mov ecx, dword [eax + 0x18]
push ecx
push 0
push 0x60
mov eax, ebp
call fcn.004bc280
mov eax, dword [esp + 0x40]
add esp, 0x18
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, ebp
mov dword [esp + 0x24], edx
call fcn.004bc2e0
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x20], eax
test eax, eax
je 0x4e387e
mov esi, eax
mov ecx, 0xc
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xa0]
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.004bd6c0
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x58], eax
lea edx, [esp + 0x40]
lea eax, [esp + 0x70]
add esp, 4
mov byte [esp + 0x3c], 0x84
mov byte [esp + 0x6c], 0x4a
mov dword [esp + 0x74], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x4e3985
mov ecx, dword [esp + 0x24]
dec eax
shr eax, 1
inc eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
lea ebx, [ebx]
inc dword [edi + 0x54]
cmp dword [esp + 0x20], 0
je 0x4e38b6
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov dword [esp + 0x78], eax
jmp 0x4e38c0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
mov eax, ebp
call fcn.004bc2e0
push 8
push eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
push eax
push edi
call fcn.004d4950
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x14]
push ebx
push eax
push edi
call fcn.004e29d0
add esp, 0x1c
cmp eax, ebx
je 0x4e3904
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4e3904
push ebx
push eax
push 9
mov eax, ecx
call fcn.004bc280
add esp, 0xc
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x38], eax
jg 0x4e3926
mov edi, ebp
call fcn.004bc100
mov edi, dword [esp + 0xa0]
test eax, eax
jne 0x4e3950
mov eax, dword [esp + 0x38]
xor ecx, ecx
inc dword [ebp + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x14]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x2c]
mov byte [eax], 0x60
mov byte [eax + 3], cl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x6e], cl
mov ecx, 1
mov eax, edi
call fcn.004b5580
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x4e3975
mov ecx, dword [esp + 0x34]
lea edx, [ecx*4 + 4]
mov ecx, dword [ebp + 0xc]
sub eax, edx
mov dword [eax], ecx
add dword [esp + 0x10], 0x28
sub dword [esp + 0x24], 1
jne 0x4e38a0
cmp dword [esi + 0xc], 0
je 0x4e39c3
inc dword [edi + 0x54]
mov esi, dword [esi + 0xc]
push ebx
push esi
push edi
call fcn.004e29d0
add esp, 0xc
cmp eax, ebx
je 0x4e39b5
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4e39b5
push ebx
push eax
push 9
mov eax, ecx
call fcn.004bc280
add esp, 0xc
mov ecx, 1
mov eax, edi
call fcn.004b5580
jmp 0x4e3a03
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x4e39dd
mov edi, ebp
call fcn.004bc100
mov edi, dword [esp + 0xa0]
test eax, eax
jne 0x4e3a03
mov eax, dword [ebp + 0x14]
xor ecx, ecx
inc dword [ebp + 0xc]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x77
mov byte [eax + 3], cl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x6e], cl
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x4e3a1c
mov ecx, dword [esp + 0x2c]
lea edx, [ecx*4 + 4]
mov ecx, dword [ebp + 0xc]
sub eax, edx
mov dword [eax], ecx
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4e3a49
mov dl, byte [edi + 0x15]
cmp dl, 8
jae 0x4e3a49
xor eax, eax
lea ecx, [edi + 0x60]
cmp dword [ecx + 0x10], esi
je 0x4e3a87
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x4e3a31
movzx edx, dl
mov dword [edi + edx*4 + 0x18], esi
inc byte [edi + 0x15]
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4e3a78
mov dl, byte [edi + 0x15]
cmp dl, 8
jae 0x4e3a78
xor eax, eax
lea ecx, [edi + 0x60]
mov edi, edi
cmp dword [ecx + 0x10], esi
je 0x4e3a8d
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x4e3a60
movzx eax, dl
mov dword [edi + eax*4 + 0x18], esi
inc byte [edi + 0x15]
mov eax, dword [esp + 0x28]
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
mov byte [ecx + 9], 1
jmp 0x4e3a49
mov eax, dword [esp + 0x28]
pop esi
pop edi
pop ebp
mov byte [ecx + 9], 1
pop ebx
add esp, 0x8c
ret