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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
push esi
mov esi, dword [eax + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], ecx
call fcn.004cd7c0
mov dword [esp + 0x30], eax
mov eax, esi
call fcn.004cd7c0
mov edx, dword [edi + 0x30]
mov dword [esp + 0x44], eax
movzx eax, byte [edi + 4]
mov edi, dword [edi + 0x2c]
mov ecx, dword [edi]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x20], ecx
cmp eax, 0x74
je 0x5039e3
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], 1
cmp byte [edx + 0x45], bl
jne 0x5039e3
lea eax, [ecx + ecx*2]
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x48], eax
jmp 0x503937
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov eax, dword [esp + 0x10]
cmp eax, dword [edx]
jg 0x5039e3
xor eax, eax
cmp ecx, ebx
jle 0x503964
lea ecx, [edi + 0x1c]
movzx edx, word [ecx]
cmp edx, dword [esp + 0x10]
je 0x503964
inc eax
add ecx, 0x18
cmp eax, dword [esp + 0x20]
jl 0x503951
cmp eax, dword [esp + 0x20]
jne 0x5039d2
mov eax, dword [esp + 0x34]
push ebx
push 0x86
push eax
lea eax, [esp + 0x68]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
call fcn.004e0530
add esp, 0xc
cmp eax, ebx
je 0x503a4d
mov ecx, dword [esp + 0x10]
or dword [eax + 4], 0x400
mov dword [eax + 8], ecx
push eax
mov eax, dword [ebp + 8]
mov ecx, edi
call fcn.004e14e0
mov edx, dword [ebp + 0xc]
mov edi, eax
add esp, 4
mov dword [edx + 0x2c], edi
cmp edi, ebx
je 0x5039d2
mov eax, dword [esp + 0x48]
mov cx, word [esp + 0x10]
inc dword [esp + 0x20]
mov word [eax + edi + 0x1c], cx
add eax, 0x18
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x34]
inc dword [esp + 0x10]
cmp byte [edx + 0x45], bl
je 0x503933
mov eax, dword [esp + 0x20]
lea ecx, [eax*4 + 4]
mov eax, dword [esp + 0x34]
push ebx
push ecx
call fcn.004afe20
add esp, 8
mov dword [esp + 0x48], eax
cmp eax, ebx
je 0x503a59
mov edx, dword [esp + 0x20]
mov ecx, 1
cmp edx, ecx
mov dword [eax], edx
jl 0x503a37
lea edx, [edi + 0x1c]
mov dword [esp + 0x38], edx
lea ebx, [ebx]
mov edx, dword [esp + 0x38]
movzx edx, word [edx]
add dword [esp + 0x38], 0x18
dec edx
mov dword [eax + ecx*4], edx
inc ecx
cmp ecx, dword [esp + 0x20]
jle 0x503a20
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.005026d0
add esp, 8
mov dword [esp + 0x38], eax
jmp 0x503a5d
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x38], ebx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
mov dword [edx + 0x2c], edi
mov ecx, dword [eax]
push edi
push ecx
call fcn.004e1000
mov edx, dword [esp + 0x4c]
add esp, 0xc
cmp dword [esp + 0x3c], 0x74
mov dword [edx + 0x2c], eax
jne 0x503a8a
mov dword [esp + 0x28], ebx
jmp 0x503b80
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x18], edx
lea edx, [eax + edx + 1]
mov dword [edi + 0x2c], edx
mov edx, dword [esi + 0xc]
lea ecx, [eax + 1]
mov eax, dword [esi + 0x88]
cmp dword [edx + 0x30], eax
mov dword [esp + 0x28], ecx
jg 0x503ac6
push ebx
push ecx
push ebx
push 0x38
call fcn.004cd3c0
add esp, 0x10
jmp 0x503af0
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov byte [eax], 0x38
mov word [eax + 2], dx
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x34]
push 1
push eax
call fcn.00501200
add esp, 8
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x503b80
xor edi, edi
cmp dword [esp + 0x18], ebx
jle 0x503b80
mov ecx, eax
add ecx, 0x14
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x30]
cmp eax, ebx
je 0x503c09
push edi
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00502680
add esp, 0xc
cmp eax, ebx
jne 0x503b5d
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
cmp edi, dword [ecx]
jge 0x503b5d
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + ecx + 8]
push edx
call fcn.004dfa90
add esp, 4
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
add dword [esp + 0x14], 0x18
mov dword [ecx], eax
mov eax, dword [edx + 0x10]
mov byte [edi + eax], bl
inc edi
add ecx, 4
cmp edi, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
jl 0x503b20
mov edi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x40]
mov edx, dword [ebp + 8]
push str.ORDER
mov dword [edi + 0x30], ebx
mov dword [ecx + 0x34], ebx
mov eax, dword [edi + 0x2c]
push edi
push edx
call fcn.004df060
mov eax, dword [esp + 0x4c]
add esp, 0xc
cmp dword [eax + 0x30], ebx
jne 0x503bc0
mov ecx, dword [ebp + 8]
push str.ORDER
push eax
mov eax, dword [eax + 0x2c]
push ecx
call fcn.004df060
add esp, 0xc
mov edx, dword [esp + 0x30]
mov eax, dword [ebp + 8]
push edx
push edi
call fcn.00502540
add esp, 8
cmp dword [edi + 0xc], ebx
je 0x503cab
cmp dword [esp + 0x3c], 0x74
jne 0x503cab
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 0x2c]
inc edi
lea eax, [edi + 1]
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x24], edi
cmp eax, ebx
je 0x503c10
lea ecx, [eax + 1]
jmp 0x503c13
xor eax, eax
jmp 0x503b40
mov ecx, dword [ecx + 0xc]
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x30], eax
jg 0x503c30
push ebx
push edi
push ecx
push 0x40
call fcn.004cd3c0
add esp, 0x10
jmp 0x503c5a
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov byte [eax], 0x40
mov word [eax + 2], dx
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x503c7b
mov edx, dword [esp + 0x18]
push ebx
push edx
push edi
push 0x40
call fcn.004cd3c0
add esp, 0x10
jmp 0x503cb5
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov byte [eax], 0x40
mov word [eax + 2], cx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x503cb5
xor edi, edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
cmp eax, ebx
je 0x503ccd
mov ecx, dword [esp + 0x34]
push eax
push ecx
call fcn.004e0aa0
add esp, 8
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x38], ebx
mov eax, dword [eax + 0x3c]
cmp eax, ebx
je 0x503ce8
mov edx, dword [esp + 0x34]
push eax
push edx
call fcn.004e0aa0
add esp, 8
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [eax + 0x3c], ebx
mov eax, dword [edx + 0x2c]
inc eax
mov dword [esp + 0x10], eax
inc eax
lea ecx, [eax + 1]
mov dword [esp + 0x2c], ecx
inc ecx
mov dword [edx + 0x2c], ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x68], 0xd
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov byte [esp + 0x80], 0xd
mov dword [esp + 0x84], eax
mov dword [esp + 0x90], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], ecx
lea edx, [ecx + 1]
jg 0x503d6e
mov ecx, dword [esp + 0x10]
push edx
push ebx
push ecx
push 0xf
call fcn.004cd3c0
add esp, 0x10
mov dword [esp + 0x4c], eax
jmp 0x503da1
mov edi, dword [esi + 0x58]
mov dword [esi + 0x88], edx
lea eax, [ecx + ecx*4]
lea eax, [edi + eax*4]
xor edi, edi
mov word [eax + 2], di
mov edi, dword [esp + 0x10]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x24]
mov byte [eax], 0xf
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x40]
mov eax, dword [ebp + 8]
mov dword [ecx + 0xc], edi
mov edx, dword [eax + 0x1a0]
mov dword [esp + 0x5c], edx
lea edx, [esp + 0x68]
push edx
push ecx
push eax
call fcn.00506f20
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
add esp, 0xc
cmp dword [ecx + 0x30], eax
jg 0x503de5
mov edx, dword [esp + 0x10]
push ebx
push ebx
push edx
push 0x35
call fcn.004cd3c0
add esp, 0x10
jmp 0x503e13
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov byte [eax], 0x35
mov word [eax + 2], cx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0xc]
mov byte [eax + 0x13], bl
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x4c]
cmp eax, ebx
mov dword [ecx + 0x1c], ebx
mov ecx, dword [esi + 0x88]
jge 0x503e30
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x45], bl
je 0x503e3e
mov eax, 0x5ef850
jmp 0x503e47
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], ecx
lea edx, [ecx + 1]
jg 0x503e77
mov eax, dword [esp + 0x10]
push edx
inc eax
push ebx
push eax
push 0xf
mov dword [esp + 0x24], eax
call fcn.004cd3c0
add esp, 0x10
mov dword [esp + 0x4c], eax
jmp 0x503eab
mov edi, dword [esi + 0x58]
mov dword [esi + 0x88], edx
lea eax, [ecx + ecx*4]
lea eax, [edi + eax*4]
xor edi, edi
mov word [eax + 2], di
mov edi, dword [esp + 0x10]
inc edi
mov byte [eax], 0xf
mov dword [esp + 0x14], edi
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x4c], ecx
mov edi, dword [ebp + 0xc]
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], edx
lea edx, [esp + 0x80]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 8]
push edx
mov dword [esp + 0x28], ecx
mov dword [edi + 0x10], ebx
mov ecx, dword [eax + 0x1a0]
push edi
push eax
mov dword [esp + 0x70], ecx
call fcn.00506f20
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x64]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
add esp, 0xc
cmp dword [edx + 0x30], eax
jg 0x503f14
mov eax, dword [esp + 0x14]
push ebx
push ebx
push eax
push 0x35
call fcn.004cd3c0
add esp, 0x10
jmp 0x503f42
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov byte [eax], 0x35
mov word [eax + 2], cx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
push edx
mov edx, dword [ebp + 0x10]
mov byte [eax + 0x13], bl
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x2c]
push edi
push eax
mov dword [ecx + 0x1c], ebx
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
lea eax, [esp + 0x7c]
push eax
push ecx
push edx
call fcn.00503540
add esp, 0x20
cmp dword [esp + 0x3c], 0x74
mov dword [esp + 0x14], eax
je 0x503f8d
cmp dword [esp + 0x3c], 0x73
jne 0x503fbd
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [ebp + 0x10]
push edi
push ecx
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x94]
push ecx
push edx
push eax
call fcn.00503540
add esp, 0x20
mov dword [esp + 0x54], eax
cmp edi, ebx
je 0x50400d
add dword [edi], 0xffffffff
jne 0x50400d
mov ecx, dword [edi + 0xc]
cmp ecx, ebx
je 0x504004
cmp dword [ecx + 0x1c8], ebx
je 0x503fde
mov eax, edi
call fcn.004afa70
jmp 0x50400d
cmp edi, dword [ecx + 0x120]
jb 0x504004
cmp edi, dword [ecx + 0x124]
jae 0x504004
mov edx, dword [ecx + 0x11c]
mov dword [edi], edx
dec dword [ecx + 0x108]
mov dword [ecx + 0x11c], edi
jmp 0x50400d
push edi
call fcn.004afa00
add esp, 4
mov eax, dword [esp + 0x3c]
cmp eax, 0x75
je 0x5041bc
cmp eax, 0x76
je 0x5041bc
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x50404a
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push ebx
push ecx
push edx
push 0xe
call fcn.004cd3c0
add esp, 0x10
mov edi, eax
jmp 0x50407e
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x58]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x50]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x54]
mov byte [eax], 0xe
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edi, ecx
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], ecx
mov dword [esp + 0x1c], edi
jg 0x5040a8
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
push ebx
push ecx
inc eax
push eax
push 0x10
call fcn.004cd3c0
add esp, 0x10
jmp 0x5040dd
lea edx, [ecx + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x10]
inc edx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov byte [eax], 0x10
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x88]
cmp dword [ecx + 0x30], eax
jg 0x5040fe
push ebx
push edi
push ebx
push 0xd
call fcn.004cd3c0
add esp, 0x10
jmp 0x504128
mov ecx, dword [esi + 0x58]
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor edx, edx
mov byte [eax], 0xd
mov word [eax + 2], dx
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x40]
mov ecx, dword [ebp + 0xc]
movzx eax, word [eax + 6]
movzx ecx, word [ecx + 6]
cmp cx, ax
jl 0x504176
movsx edx, ax
movsx eax, cx
lea edi, [edx + 0x31]
cmp eax, edi
jg 0x5041b0
lea edi, [edx + 0x1f]
cmp eax, edi
jle 0x50415d
mov edx, dword [ebp + 0xc]
inc ecx
movzx eax, cx
mov word [edx + 6], ax
jmp 0x5041c8
sub eax, edx
movzx dx, byte [eax + str._n_n_t_t_b_b_a_a_a]
add dx, cx
movzx eax, dx
mov edx, dword [ebp + 0xc]
mov word [edx + 6], ax
jmp 0x5041c8
movsx edx, cx
movsx ecx, ax
lea edi, [edx + 0x31]
cmp ecx, edi
jle 0x50418f
mov edx, dword [ebp + 0xc]
movzx eax, ax
mov word [edx + 6], ax
jmp 0x5041c8
lea edi, [edx + 0x1f]
cmp ecx, edi
jle 0x5041a3
mov edx, dword [ebp + 0xc]
inc eax
movzx eax, ax
mov word [edx + 6], ax
jmp 0x5041c8
sub ecx, edx
movzx cx, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add cx, ax
mov edx, dword [ebp + 0xc]
movzx eax, cx
mov word [edx + 6], ax
jmp 0x5041c8
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
cmp dword [esp + 0x3c], 0x76
jne 0x5041f5
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], eax
movzx eax, word [ecx + 6]
mov ecx, dword [ebp + 0xc]
cmp word [ecx + 6], ax
jle 0x5042f2
mov word [ecx + 6], ax
jmp 0x5042f2
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x30], ecx
jg 0x50421c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
push ebx
push eax
push ecx
push 0xe
call fcn.004cd3c0
add esp, 0x10
mov edi, eax
jmp 0x504250
lea edx, [ecx + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x14]
mov byte [eax], 0xe
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edi, ecx
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x30], eax
mov dword [esp + 0x18], edi
jg 0x504279
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
push ebx
push edx
push eax
push 0x10
call fcn.004cd3c0
add esp, 0x10
jmp 0x5042ab
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x30]
mov byte [eax], 0x10
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x30], eax
jg 0x5042c8
push ebx
push edi
push ebx
push 0xd
call fcn.004cd3c0
add esp, 0x10
jmp 0x5042f2
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
xor ecx, ecx
mov byte [eax], 0xd
mov word [eax + 2], cx
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x30], ecx
jg 0x50431b
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
push ebx
push eax
push ecx
push 0xe
call fcn.004cd3c0
add esp, 0x10
mov dword [esp + 0x28], eax
jmp 0x504353
lea edx, [ecx + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x14]
mov byte [eax], 0xe
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x88]
cmp dword [ecx + 0x30], eax
jg 0x50437c
mov edx, dword [esp + 0x1c]
push ebx
push edx
push edi
push 0x10
call fcn.004cd3c0
add esp, 0x10
jmp 0x5043aa
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x1c]
xor ecx, ecx
mov byte [eax], 0x10
mov word [eax + 2], cx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x5043cb
mov edx, dword [esp + 0x44]
push ebx
push edx
push ebx
push 0xd
call fcn.004cd3c0
add esp, 0x10
jmp 0x5043f9
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x44]
xor ecx, ecx
mov byte [eax], 0xd
mov word [eax + 2], cx
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x3c]
cmp eax, 0x74
jne 0x50440f
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
jmp 0x5044ca
cmp eax, 0x76
jne 0x504426
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
inc eax
mov dword [esp + 0x2c], eax
jmp 0x5044ca
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x30], ecx
jg 0x504447
mov eax, dword [esp + 0x1c]
push ebx
push eax
push edi
push 0x10
call fcn.004cd3c0
add esp, 0x10
jmp 0x504477
lea edx, [ecx + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x1c]
mov byte [eax], 0x10
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x88]
cmp dword [ecx + 0x30], eax
jg 0x50449c
mov edx, dword [esp + 0x44]
push ebx
push edx
push ebx
push 0xd
call fcn.004cd3c0
add esp, 0x10
jmp 0x5044ca
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x44]
xor ecx, ecx
mov byte [eax], 0xd
mov word [eax + 2], cx
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 0x88]
mov dword [esp + 0x28], eax
cmp ecx, 0x74
je 0x5044e2
cmp ecx, 0x73
jne 0x504533
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x504501
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
push ebx
push edx
push eax
push 0xe
call fcn.004cd3c0
add esp, 0x10
jmp 0x504533
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x50]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x54]
mov byte [eax], 0xe
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x30], eax
mov edi, dword [esp + 0x10]
jg 0x504559
mov eax, dword [esp + 0x18]
push ebx
push eax
inc edi
push edi
push 0x10
call fcn.004cd3c0
add esp, 0x10
jmp 0x504588
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x18]
xor ecx, ecx
inc edi
mov byte [eax], 0x10
mov word [eax + 2], cx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x5045a9
mov edx, dword [esp + 0x44]
push ebx
push edx
push ebx
push 0xd
call fcn.004cd3c0
add esp, 0x10
jmp 0x5045d7
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x44]
xor ecx, ecx
mov byte [eax], 0xd
mov word [eax + 2], cx
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x4c]
cmp eax, ebx
mov ecx, dword [esi + 0x88]
jge 0x5045e8
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x45], bl
je 0x5045f6
mov eax, 0x5ef850
jmp 0x5045ff
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x504627
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
push ebx
push edx
push eax
push 0x10
call fcn.004cd3c0
add esp, 0x10
jmp 0x504659
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x24]
mov byte [eax], 0x10
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x30], eax
jg 0x50467a
mov eax, dword [esp + 0x18]
push ebx
push eax
push edi
push 0x10
call fcn.004cd3c0
add esp, 0x10
jmp 0x5046a8
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov byte [eax], 0x10
mov word [eax + 2], cx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x48]
cmp eax, ebx
je 0x5046c7
mov ecx, dword [esp + 0x44]
lea edx, [ecx*4 + 4]
mov ecx, dword [esi + 0x88]
sub eax, edx
mov dword [eax], ecx
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x30], ecx
jg 0x5046e4
push ebx
push ebx
push ebx
push 0x4a
call fcn.004cd3c0
add esp, 0x10
jmp 0x504710
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x58]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
xor edx, edx
mov byte [eax], 0x4a
mov word [eax + 2], dx
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 eax, ecx
mov ecx, dword [esi]
cmp byte [ecx + 0x45], bl
je 0x504727
mov eax, dword [esp + 0x48]
push 0xfffffffffffffff1
call fcn.004cdcf0
add esp, 4
jmp 0x504765
cmp eax, ebx
jge 0x504732
mov eax, dword [esi + 0x88]
dec eax
mov ecx, dword [esi + 0x58]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], bl
lea ecx, [ecx + eax*4]
je 0x504756
mov edx, dword [esp + 0x48]
push edx
push esi
mov eax, 0xfffffff1
call fcn.004cde50
add esp, 8
jmp 0x504765
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x504765
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xf1
mov eax, dword [esp + 0x70]
mov ecx, dword [esi + 0x88]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x504799
mov ecx, dword [esp + 0x20]
push ecx
push edx
mov edx, dword [esp + 0x78]
push edx
push 0x5e
call fcn.004cd3c0
add esp, 0x10
jmp 0x5047cd
mov edi, dword [esi + 0x58]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea eax, [ecx + ecx*4]
lea eax, [edi + eax*4]
xor edi, edi
mov word [eax + 2], di
mov edi, dword [esp + 0x58]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x20]
mov byte [eax], 0x5e
mov dword [eax + 4], edi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, ecx
mov ecx, dword [esi]
cmp byte [ecx + 0x45], bl
je 0x5047e4
mov eax, dword [esp + 0x38]
push 0xfffffffffffffff7
call fcn.004cdcf0
add esp, 4
jmp 0x504822
cmp eax, ebx
jge 0x5047ef
mov eax, dword [esi + 0x88]
dec eax
mov ecx, dword [esi + 0x58]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], bl
lea ecx, [ecx + eax*4]
je 0x504813
mov edx, dword [esp + 0x38]
push edx
push esi
mov eax, 0xfffffff7
call fcn.004cde50
add esp, 8
jmp 0x504822
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x504822
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xf7
mov eax, dword [esi + 0x88]
cmp eax, ebx
jle 0x50483c
mov ecx, dword [esi + 0x58]
lea eax, [eax + eax*4]
mov edx, 1
mov word [ecx + eax*4 - 0x12], dx
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x504865
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
push 0x12
call fcn.004cd3c0
add esp, 0x10
jmp 0x50489b
mov ecx, dword [esi + 0x58]
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x2c]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov byte [eax], 0x12
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x48]
cmp eax, ebx
je 0x5048ba
mov edx, dword [esp + 0x30]
lea ecx, [edx*4 + 4]
mov edx, dword [esi + 0x88]
sub eax, ecx
mov dword [eax], edx
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x5048d4
push 1
push eax
mov eax, dword [esp + 0x3c]
push eax
call fcn.004ffa50
add esp, 0xc
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
mov dword [esi + 0x30], eax
push ebx
mov dword [eax + 0x34], esi
movzx eax, byte [esi + 4]
mov esi, dword [ebp + 8]
push ecx
push edx
push esi
call fcn.00501400
add esp, 0x10
xor eax, eax
cmp dword [esi + 0x24], ebx
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret