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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [edx + 0x10]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x20], eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x28], ecx
mov esi, dword [edi + 8]
mov al, byte [ecx]
cmp al, 0xb0
jne 0x4a5cf8
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x4a5d07
mov eax, dword [ecx + 0x14]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
jmp 0x4a5d21
cmp al, 0x8a
jne 0x4a5d19
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
jmp 0x4a5d21
mov dword [esp + 0xc], 1
dec dword [edi + 0x38]
xor ebx, ebx
mov eax, dword [edi + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 4]
shr eax, 9
and eax, 1
mov dword [esp + 0x48], eax
cmp dword [edi + 0x24], ebx
jne 0x4a620a
mov ecx, dword [esp + 0x20]
mov al, byte [ecx]
cmp al, 0xb0
jne 0x4a5d50
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x4a5d5b
mov eax, dword [ecx + 0x14]
mov eax, dword [eax]
jmp 0x4a5d6e
cmp al, 0x8a
jne 0x4a5d69
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x4a5d6e
mov eax, 1
cmp dword [esp + 0xc], eax
je 0x4a5d89
push str.row_value_misused
push edi
call fcn.0046d800
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dl, byte [ebp + 0xc]
mov ecx, 0x38
cmp dl, 0x37
movzx eax, dl
cmovne ecx, eax
cmp dl, 0x39
jne 0x4a5da6
mov byte [esp + 0x18], 0x36
jmp 0x4a5db8
movzx eax, cl
cmp dl, 0x34
mov ecx, 0x35
cmove eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], ebx
cmp byte [eax], 0x8a
jne 0x4a5dd2
mov edx, eax
mov ecx, edi
call fcn.004a9da0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], ebx
cmp byte [eax], 0x8a
jne 0x4a5dec
mov edx, eax
mov ecx, edi
call fcn.004a9da0
mov dword [esp + 0x2c], eax
mov ecx, dword [esi + 0x74]
mov edx, dword [ebp + 8]
cmp dword [esi + 0x78], ecx
jg 0x4a5e0d
push 0
push edx
push 1
mov edx, 0x47
mov ecx, esi
call fcn.0048eaa0
add esp, 0xc
jmp 0x4a5e34
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], ebx
movzx edx, byte [ebp + 0x10]
xor ecx, ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
test ebx, ebx
je 0x4a5e90
mov eax, dword [esi]
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4a5e78
mov eax, 0x5c24f8
jmp 0x4a5e8d
test ebx, ebx
lea eax, [edx - 1]
cmovns eax, ebx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.004a5c10
mov edx, dword [esp + 0x30]
mov ebx, eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x50], ebx
push eax
lea eax, [esp + 0x44]
mov ecx, edi
push eax
push dword [esp + 0x44]
push dword [esp + 0x2c]
call fcn.004a5c10
push dword [esp + 0x68]
mov edx, dword [esp + 0x58]
mov ecx, eax
push dword [esp + 0x70]
mov eax, dword [esi + 0x74]
push dword [esp + 0x3c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
push ecx
push ebx
movzx eax, al
push eax
push dword [esp + 0x68]
mov dword [esp + 0x80], ecx
mov ecx, edi
call fcn.004a5970
mov ecx, dword [esp + 0x74]
add esp, 0x3c
test ecx, ecx
je 0x4a5f21
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4a5f21
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4a5f3d
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4a5f3d
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
mov eax, dword [esp + 0x18]
cmp al, 0x38
je 0x4a5f4e
mov ebx, dword [esp + 0xc]
dec ebx
cmp al, 0x36
jne 0x4a5fba
mov eax, dword [esp + 0xc]
dec eax
mov ebx, eax
cmp dword [esp + 0x10], eax
jge 0x4a5fba
mov edx, dword [esi + 0x74]
mov dword [esp + 0x1c], edx
cmp dword [esi + 0x78], edx
jg 0x4a5f82
push 0
push 0
push 0
mov edx, 0x3a
mov ecx, esi
call fcn.0048eaa0
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x4a5fb5
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x3a
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esp + 0xc]
dec ebx
cmp byte [ebp + 0x10], 0x80
mov ecx, dword [esi + 0x74]
mov eax, dword [esi + 0x78]
jne 0x4a6019
cmp eax, ecx
jg 0x4a5fe5
push 0
push dword [ebp + 8]
mov edx, 0x47
mov ecx, esi
push 0
call fcn.0048eaa0
add esp, 0xc
jmp 0x4a6068
mov edx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4a606b
mov edx, dword [esp + 0x40]
cmp eax, ecx
jg 0x4a603a
push dword [esp + 0x44]
mov ecx, esi
push dword [ebp + 8]
push edx
mov edx, 0x5b
call fcn.0048eaa0
add esp, 0xc
jmp 0x4a6068
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 8]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x5b
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebp + 8]
cmp dword [esp + 0x10], ebx
je 0x4a6160
mov ebx, dword [esp + 0x18]
mov ecx, dword [esi + 0x74]
mov eax, dword [esi + 0x78]
cmp bl, 0x35
jne 0x4a60e9
cmp eax, ecx
jg 0x4a60ac
push 0
push dword [esp + 0x18]
mov ecx, esi
push edx
mov edx, 0x33
call fcn.0048eaa0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov ebx, dword [esp + 0x1c]
inc ecx
jmp 0x4a5e3e
mov ebx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x33
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x10]
inc ecx
jmp 0x4a5e3e
cmp eax, ecx
jg 0x4a6106
push 0
push dword [esp + 0x18]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.0048eaa0
add esp, 0xc
jmp 0x4a6139
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0xc]
movzx eax, byte [ebp + 0xc]
add ecx, 0xfffffffe
cmp dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
movzx edx, bl
mov ebx, dword [esp + 0x1c]
cmove edx, eax
mov byte [esp + 0x18], dl
inc ecx
jmp 0x4a5e3e
mov eax, dword [esi]
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4a6172
mov eax, 0x5c24f8
jmp 0x4a6187
mov ecx, dword [esp + 0x1c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x14]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4a61a8
push edx
mov edx, esi
call fcn.0048f2c0
add esp, 4
jmp 0x4a61b1
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
cmp byte [ebp + 0xc], 0x34
jne 0x4a620a
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4a61dc
mov eax, dword [ebp + 8]
mov edx, 0x13
push 0
push eax
push eax
mov ecx, esi
call fcn.0048eaa0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x13
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret