Function at 0x4e2550
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 0x4e258e
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 0x4e25a2
movzx eax, byte [esi]
mov dword [esp + 0x10], eax
add eax, 0xffffffed
cmp eax, 0x87
ja case.0x4e25bb.21
movzx eax, byte [eax + 0x4e3680]
jmp dword [eax*4 + 0x4e3620]
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 0x4e25e9
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 0x4e2613
mov ecx, dword [ecx + 0xc]
mov edx, dword [eax + 4]
push ebx
push ecx
push edx
push 3
mov eax, ebp
call fcn.004bbd00
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 0x4e2632
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.004debb0
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.004c2ff0
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.004c2eb0
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 0x4e26bc
mov edi, ebp
call fcn.004bbc80
test eax, eax
je 0x4e26bc
mov eax, 1
xor ecx, ecx
jmp 0x4e26e5
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 0x4e2759
cmp byte [edi + 0x1e], 0
jne 0x4e2759
cmp eax, ecx
jge 0x4e26fd
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.004bc140
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esi + 0x10], eax
cmp ecx, eax
jne 0x4e2732
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.004aee40
mov edx, dword [ebp]
mov edi, eax
mov ebx, ecx
call fcn.004b97b0
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.004bc140
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.004bbe00
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.004aee40
mov esi, eax
mov eax, dword [ebp]
dec esi
push esi
push eax
mov edi, ecx
call fcn.004b9a90
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.004c20e0
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 0x4e282d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp]
dec eax
cmp byte [ecx + 0x1e], dl
je 0x4e27f1
mov eax, 0x5caec0
jmp 0x4e27fa
mov ecx, dword [ebp + 0x14]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
cmp byte [eax], 0x1b
jne 0x4e282d
mov ecx, dword [eax + 0xc]
mov edi, dword [eax + 4]
add edi, ecx
cmp edi, dword [esi + 0x18]
jne 0x4e282d
mov edi, dword [eax + 8]
add edi, ecx
cmp edi, ebx
jne 0x4e282d
cmp dword [eax + 0x10], edx
jne 0x4e282d
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.004bbd00
mov ebx, dword [esi + 4]
add esp, 0x10
cmp byte [ebx + 1], 0
je 0x4e35f8
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp]
test ecx, ecx
je 0x4e28b8
cmp byte [edi + 0x1e], 0
jne 0x4e28b8
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.004bc140
xor eax, eax
mov dword [esi + 0x10], eax
cmp ebx, eax
jne 0x4e2891
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.004aee40
mov edx, dword [ebp]
mov edi, eax
call fcn.004b97b0
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.004bc140
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.004e2550
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.004e2550
mov edi, eax
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [esp + 0x28], edi
call fcn.004b5770
movsx esi, al
add esi, 0x2c
cmp edi, ebx
je 0x4e2939
push ebx
push edi
push 9
mov eax, ebp
call fcn.004bbe00
add esp, 0xc
mov dword [esp + 0x28], ebx
mov edi, dword [esp + 0x28]
push edi
push esi
mov eax, ebp
call fcn.004bbdb0
mov eax, dword [esp + 0xa8]
push eax
mov eax, 1
mov esi, edi
call fcn.004b51b0
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.004c24f0
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.004d3be0
add esp, 0x28
jmp 0x4e359c
lea edx, [esp + 0x18]
mov edi, esi
mov ecx, dword [edi + 8]
mov esi, dword [esp + 0xa0]
push edx
call fcn.004bd240
mov ecx, dword [edi + 0xc]
mov ebx, eax
lea eax, [esp + 0x20]
push eax
call fcn.004bd240
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x18]
push ecx
push ebx
push eax
push edx
mov eax, ebp
call fcn.004bbd00
add esp, 0x18
mov edi, esi
jmp 0x4e359c
mov esi, dword [esi + 8]
mov al, byte [esi]
cmp al, 0x82
jne 0x4e2a17
mov eax, dword [esi + 4]
push ebx
push 1
push ebp
call fcn.004c2eb0
add esp, 0xc
mov dword [esp + 0x28], ebx
jmp 0x4e359c
cmp al, 0x81
jne 0x4e2a35
push ebx
push ebp
mov ecx, 1
mov eax, esi
call fcn.004c2ff0
add esp, 8
mov dword [esp + 0x28], ebx
jmp 0x4e359c
mov esi, edi
mov eax, esi
call fcn.004b5340
mov edi, eax
push edi
push 0
push 0x30
mov eax, ebp
mov dword [esp + 0x24], edi
call fcn.004bbe00
mov ecx, dword [esp + 0xb0]
mov ecx, dword [ecx + 8]
lea eax, [esp + 0x28]
push eax
call fcn.004bd240
mov edx, ebx
push edx
push edi
push eax
push 0x55
mov eax, ebp
call fcn.004bbd00
add esp, 0x20
mov edi, esi
mov dword [esp + 0x28], ebx
jmp 0x4e359c
lea eax, [esp + 0x18]
mov ecx, esi
mov ecx, dword [ecx + 8]
push eax
mov esi, edi
call fcn.004bd240
mov edx, dword [esp + 0x14]
mov ecx, ebx
push ecx
push eax
push edx
mov eax, ebp
mov dword [esp + 0x38], ecx
call fcn.004bbe00
add esp, 0x10
jmp 0x4e359c
mov edi, ebx
push edi
push 1
push 0x30
mov eax, ebp
call fcn.004bbe00
lea eax, [esp + 0x24]
mov ecx, esi
mov ecx, dword [ecx + 8]
mov esi, dword [esp + 0xac]
push eax
call fcn.004bd240
mov edx, dword [esp + 0x20]
push eax
push edx
mov eax, ebp
call fcn.004bbdb0
push 0xffffffffffffffff
mov esi, eax
push edi
push 0x2a
mov eax, ebp
call fcn.004bbe00
mov eax, dword [ebp + 0xc]
mov edi, dword [esp + 0xc4]
add esp, 0x24
cmp eax, esi
jle 0x4e359c
mov edx, dword [ebp + 0x14]
lea ecx, [esi + esi*4]
mov dword [edx + ecx*4 + 8], eax
jmp 0x4e359c
mov eax, dword [esi + 0x24]
cmp eax, edx
jne 0x4e2b3b
mov eax, esi
mov ecx, dword [eax + 4]
push ecx
push str.misuse_of_aggregate:__s__
mov esi, edi
call fcn.004c0c70
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 0x4e2bd5
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], edx
mov ebx, edx
mov ecx, dword [esi + 4]
call fcn.004aee40
mov edx, dword [esp + 0x18]
push 0
push edx
push ebx
push eax
mov eax, dword [esp + 0x30]
push ecx
push eax
call fcn.004c41e0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
add esp, 0x18
test eax, eax
je 0x4e2be8
push ebx
mov ebx, edi
call fcn.004b5390
push 1
push eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
push edi
call fcn.004c9b20
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
add esp, 0x10
jmp 0x4e2bf0
mov eax, dword [esi + 0x10]
mov dword [esp + 0x24], eax
cmp eax, edx
je 0x4e2b7e
mov ebx, dword [eax]
mov dword [esp + 0x1c], ebx
jmp 0x4e2b84
mov dword [esp + 0x2c], 0
cmp ebx, 2
jl 0x4e2c0e
test byte [esi + 2], 0x80
je 0x4e2c0e
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 0x4e2c22
test ebx, ebx
jle 0x4e2c2e
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.004c6d10
mov dword [esp + 0x24], eax
add esp, 0xc
xor esi, esi
test ebx, ebx
jle 0x4e2c8f
xor ebx, ebx
cmp esi, 0x20
jge 0x4e2c5b
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + ebx]
call fcn.004bd040
test eax, eax
je 0x4e2c5b
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 0x4e2c81
cmp dword [esp + 0x10], 0
jne 0x4e2c81
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0xc]
mov eax, dword [eax + ebx]
mov ecx, edi
call fcn.004d3ad0
mov dword [esp + 0x10], eax
inc esi
add ebx, 0x14
cmp esi, dword [esp + 0x1c]
jl 0x4e2c36
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test byte [ecx + 3], 8
je 0x4e2d4d
cmp dword [esp + 0x10], 0
jne 0x4e2caf
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 0x4e2ccb
mov edi, ebp
call fcn.004bbc80
test eax, eax
je 0x4e2ccb
mov eax, 1
xor ebx, ebx
jmp 0x4e2cf4
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 0x4e2d3b
cmp byte [edi + 0x1e], 0
jne 0x4e2d3b
cmp eax, ebx
jge 0x4e2d0c
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.004bc140
mov eax, dword [esp + 0x10]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x4e2d32
mov dword [esi + 0x10], ebx
mov byte [esi + 1], 0
jmp 0x4e2d49
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfc
jmp 0x4e2d49
mov ecx, dword [esp + 0x10]
mov eax, 0xfffffffc
call fcn.004bc140
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x4e2d67
mov edi, ebp
call fcn.004bbc80
test eax, eax
je 0x4e2d67
mov eax, 1
jmp 0x4e2da3
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 0x4e2ddc
cmp byte [edi + 0x1e], 0
jne 0x4e2ddc
test eax, eax
jge 0x4e2dbb
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.004bc140
mov eax, dword [esp + 0x18]
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfb
jmp 0x4e2dea
mov ecx, dword [esp + 0x18]
mov eax, 0xfffffffb
call fcn.004bc140
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4e2dfc
mov ebp, dword [ebp + 0xc]
lea ecx, [ebp + ebp*4]
mov byte [eax + ecx*4 - 0x11], bl
test ebx, ebx
je 0x4e2e16
mov eax, dword [esp + 0xa0]
cmp ebx, dword [eax + 0x38]
jle 0x4e2e16
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.004b51b0
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.004d3d50
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.004e21c0
add esp, 0xc
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], ebx
je 0x4e2e8b
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
mov dword [esp + 0x20], eax
mov ebx, esi
call fcn.004bcc40
inc dword [edi + 0x54]
mov esi, dword [esp + 0xa8]
mov byte [esp + 0x33], al
mov eax, dword [ebx + 8]
call fcn.004bd2c0
push esi
push 0x47
mov eax, ebp
call fcn.004bbdb0
add esp, 8
cmp dword [esp + 0x10], 1
mov dword [esp + 0x24], eax
jne 0x4e2f26
push esi
push 0x26
mov eax, ebp
call fcn.004bbdb0
mov ecx, dword [ebx + 0x18]
push esi
push 0
push ecx
mov edi, eax
push 0x2e
mov eax, ebp
call fcn.004bbd00
push esi
mov ebx, eax
push 1
push 0x30
mov eax, ebp
call fcn.004bbe00
push 0x60
mov eax, ebp
call fcn.004bbd60
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
add esp, 0x28
cmp eax, edi
jle 0x4e2f0b
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 0x4e2f1c
mov ecx, dword [ebp + 0x14]
lea edx, [ebx + ebx*4]
mov dword [ecx + edx*4 + 8], eax
push esi
push 0
push 0x30
jmp 0x4e313e
mov eax, edi
call fcn.004b5340
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], ebx
mov dword [esp + 0x1c], eax
jg 0x4e2f4b
mov edi, ebp
call fcn.004bbc80
test eax, eax
je 0x4e2f4b
mov ebx, 1
jmp 0x4e2f7f
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 0x4e2fce
cmp byte [edi + 0x1e], 0
jne 0x4e2fce
test ebx, ebx
jge 0x4e2f99
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.004bc140
mov dword [esi + 0x10], 0
mov edx, dword [ebp]
mov edi, 1
lea ebx, [esp + 0x33]
call fcn.004b97b0
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xff
jmp 0x4e2fdc
lea ecx, [esp + 0x33]
mov eax, 1
call fcn.004bc140
mov edi, dword [esp + 0xa8]
push edi
push 1
push 0x30
mov eax, ebp
call fcn.004bbe00
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.004bbd00
mov esi, eax
add esp, 0x1c
cmp dword [esp + 0x20], 0
mov dword [esp + 0x10], esi
mov eax, ebp
jne 0x4e302e
push edi
push 0
push 0x30
call fcn.004bbe00
jmp 0x4e3149
mov ebx, dword [esp + 0x14]
push ebx
push 0x48
call fcn.004bbdb0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
push eax
push 0
push 0x77
mov eax, ebp
call fcn.004bbe00
mov esi, dword [ebp + 0xc]
add esp, 0x14
cmp dword [ebp + 0x10], esi
jg 0x4e306b
mov edi, ebp
call fcn.004bbc80
test eax, eax
je 0x4e306b
mov esi, 1
jmp 0x4e3096
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 0x4e30cf
cmp byte [edi + 0x1e], 0
jne 0x4e30cf
test esi, esi
jge 0x4e30b0
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.004bc140
mov dword [esi + 0x10], 0x57f86c
mov byte [esi + 1], 0xfe
jmp 0x4e30de
mov ecx, 0x57f86c
mov eax, 0xfffffffe
call fcn.004bc140
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x18]
push ebx
push 0
push edx
push 0x80
mov eax, ebp
call fcn.004bbd00
mov edi, dword [esp + 0x30]
push edi
mov esi, eax
push 0
push 0x30
mov eax, ebp
call fcn.004bbe00
mov eax, dword [ebp + 0xc]
add esp, 0x1c
cmp eax, esi
jle 0x4e311e
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 0x4e3133
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.004bbe00
mov esi, dword [esp + 0x1c]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x30]
add esp, 0xc
cmp eax, ecx
jle 0x4e3161
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 0x4e3172
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.004b5110
mov edi, eax
jmp 0x4e35c9
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.004c24f0
mov eax, edi
call fcn.004b5340
mov edx, eax
mov eax, edi
mov dword [esp + 0x34], edx
call fcn.004b5340
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.004d3be0
mov edx, dword [esi + 0x14]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x48], edx
mov edx, edi
call fcn.004b5360
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x44]
push eax
mov esi, edi
call fcn.004bd240
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.004d3be0
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.004bbd00
add esp, 0x10
mov edx, edi
call fcn.004b5360
mov esi, dword [esp + 0x10]
call fcn.004b5360
jmp 0x4e359c
mov eax, dword [esi + 8]
push ebx
push eax
push edi
call fcn.004e2550
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 0x4e329b
push 0x583978
mov esi, edi
call fcn.004c0c70
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 0x4e3351
mov ecx, dword [esi + 4]
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov dword [esp + 0x14], ecx
movsx ebx, al
jg 0x4e32cc
mov edi, ebp
call fcn.004bbc80
test eax, eax
je 0x4e32cc
mov eax, 1
xor ebx, ebx
jmp 0x4e32f9
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 0x4e2759
cmp byte [edi + 0x1e], 0
jne 0x4e2759
cmp eax, ebx
jge 0x4e3319
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.004bc140
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x10], ebx
cmp ecx, ebx
jne 0x4e2732
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.004bbe00
mov eax, dword [edi + 0x1e8]
mov ecx, dword [eax + 0x18]
push ecx
push 0
push 0x60
mov eax, ebp
call fcn.004bbe00
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.004bbe60
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x20], eax
test eax, eax
je 0x4e33fe
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.004bd240
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 0x4e3505
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 0x4e3436
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov dword [esp + 0x78], eax
jmp 0x4e3440
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
mov eax, ebp
call fcn.004bbe60
push 8
push eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
push eax
push edi
call fcn.004d44d0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x14]
push ebx
push eax
push edi
call fcn.004e2550
add esp, 0x1c
cmp eax, ebx
je 0x4e3484
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4e3484
push ebx
push eax
push 9
mov eax, ecx
call fcn.004bbe00
add esp, 0xc
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x38], eax
jg 0x4e34a6
mov edi, ebp
call fcn.004bbc80
mov edi, dword [esp + 0xa0]
test eax, eax
jne 0x4e34d0
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.004b5110
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x4e34f5
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 0x4e3420
cmp dword [esi + 0xc], 0
je 0x4e3543
inc dword [edi + 0x54]
mov esi, dword [esi + 0xc]
push ebx
push esi
push edi
call fcn.004e2550
add esp, 0xc
cmp eax, ebx
je 0x4e3535
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4e3535
push ebx
push eax
push 9
mov eax, ecx
call fcn.004bbe00
add esp, 0xc
mov ecx, 1
mov eax, edi
call fcn.004b5110
jmp 0x4e3583
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x4e355d
mov edi, ebp
call fcn.004bbc80
mov edi, dword [esp + 0xa0]
test eax, eax
jne 0x4e3583
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 0x4e359c
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 0x4e35c9
mov dl, byte [edi + 0x15]
cmp dl, 8
jae 0x4e35c9
xor eax, eax
lea ecx, [edi + 0x60]
cmp dword [ecx + 0x10], esi
je 0x4e3607
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x4e35b1
movzx edx, dl
mov dword [edi + edx*4 + 0x18], esi
inc byte [edi + 0x15]
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4e35f8
mov dl, byte [edi + 0x15]
cmp dl, 8
jae 0x4e35f8
xor eax, eax
lea ecx, [edi + 0x60]
mov edi, edi
cmp dword [ecx + 0x10], esi
je 0x4e360d
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x4e35e0
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 0x4e35c9
mov eax, dword [esp + 0x28]
pop esi
pop edi
pop ebp
mov byte [ecx + 9], 1
pop ebx
add esp, 0x8c
ret