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

Disassembly:
sub esp, 0x40
mov ecx, dword [esp + 0x48]
push ebx
push ebp
push esi
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
push edi
mov edi, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
mov al, byte [edx]
mov dword [esp + 0x44], edx
mov esi, dword [edi + 8]
cmp al, 0xb0
jne 0x476e39
mov al, byte [edx + 2]
cmp al, 0xb1
jne 0x476e48
mov eax, dword [edx + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
jmp 0x476e62
cmp al, 0x8a
jne 0x476e5a
mov eax, dword [edx + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
jmp 0x476e62
mov dword [esp + 0x14], 1
dec dword [edi + 0x38]
xor ebx, ebx
mov eax, dword [ecx + 4]
mov ebp, dword [edi + 0x38]
shr eax, 0xa
and eax, 1
mov dword [esp + 0x18], ebp
mov dword [esp + 0x48], eax
cmp dword [edi + 0x24], ebx
jne 0x4772ed
mov ecx, dword [esp + 0x1c]
mov al, byte [ecx]
cmp al, 0xb0
jne 0x476e91
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x476e9c
mov eax, dword [ecx + 0x14]
mov eax, dword [eax]
jmp 0x476eaf
cmp al, 0x8a
jne 0x476eaa
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x476eaf
mov eax, 1
cmp dword [esp + 0x14], eax
je 0x476ecb
push str.row_value_misused
push edi
call fcn.004b0ca0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
cmp byte [esp + 0x60], 0x37
mov ecx, 0x38
movzx eax, byte [esp + 0x60]
cmovne ecx, eax
cmp byte [esp + 0x60], 0x39
jne 0x476eeb
mov byte [esp + 0x10], 0x36
jmp 0x476eff
cmp byte [esp + 0x60], 0x34
movzx eax, cl
mov ecx, 0x35
cmove eax, ecx
mov dword [esp + 0x10], eax
cmp byte [edx], 0x8a
mov dword [esp + 0x28], ebx
jne 0x476f16
push edx
push edi
call fcn.004ab5f0
add esp, 8
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], ebx
cmp byte [eax], 0x8a
jne 0x476f31
push eax
push edi
call fcn.004ab5f0
add esp, 8
mov dword [esp + 0x2c], eax
push dword [esp + 0x5c]
push 1
push 0x47
push esi
call fcn.004d7790
mov eax, dword [esp + 0x24]
add esp, 0x10
movzx edx, byte [esp + 0x64]
xor ecx, ecx
dec eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x58], 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 0x476fa0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x476f90
mov eax, 0x718388
jmp 0x476f9d
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], edx
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x30]
push ecx
push dword [esp + 0x54]
push edi
call fcn.0047f530
mov dword [esp + 0x38], eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x4c]
push dword [esp + 0x7c]
push dword [esp + 0x44]
push edi
call fcn.0047f530
push dword [esp + 0x78]
mov ebx, dword [esi + 0x6c]
push dword [esp + 0x80]
mov dword [esp + 0x78], eax
push ebp
push eax
push dword [esp + 0x60]
mov eax, dword [esp + 0x54]
movzx eax, al
push eax
push dword [esp + 0x78]
push dword [esp + 0x80]
push edi
call fcn.00475830
mov ecx, dword [esp + 0x8c]
add esp, 0x54
test ecx, ecx
je 0x47702c
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x47702c
movzx eax, al
mov dword [edi + eax*4 + 0xa4], ecx
inc byte [edi + 0x13]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x477048
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x477048
movzx eax, al
mov dword [edi + eax*4 + 0xa4], ecx
inc byte [edi + 0x13]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
cmp al, 0x38
je 0x47705b
lea ebp, [esi + 0x70]
cmp al, 0x36
jne 0x4770b7
lea ebp, [esi + 0x70]
cmp dword [esp + 0x58], ecx
jge 0x4770b7
mov ebx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ebx
jg 0x477081
push 0
push 0
push 0
push 0x3a
push esi
call fcn.00486380
add esp, 0x14
mov ebx, eax
jmp 0x4770b4
lea eax, [ebx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x68]
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
lea ebp, [esi + 0x70]
cmp byte [esp + 0x64], 0x80
mov ecx, dword [esi + 0x6c]
mov eax, dword [ebp]
jne 0x477119
cmp eax, ecx
jg 0x4770e4
push 0
push dword [esp + 0x60]
push 0
push 0x47
push esi
call fcn.00486380
mov edx, dword [esp + 0x70]
add esp, 0x14
jmp 0x477171
mov edx, dword [esp + 0x5c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
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 0x477171
cmp eax, ecx
jg 0x47713a
push dword [esp + 0x40]
push dword [esp + 0x60]
push dword [esp + 0x28]
push 0x5c
push esi
call fcn.00486380
mov edx, dword [esp + 0x70]
add esp, 0x14
jmp 0x477171
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x40]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x54]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x58], eax
je 0x47724f
cmp byte [esp + 0x10], 0x35
mov eax, dword [ebp]
mov ecx, dword [esi + 0x6c]
mov ebp, dword [esp + 0x18]
jne 0x4771e2
cmp eax, ecx
jg 0x4771ad
push 0
push ebp
push edx
push 0x33
push esi
call fcn.00486380
mov ecx, dword [esp + 0x6c]
add esp, 0x14
inc ecx
jmp 0x476f56
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x33
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x58]
inc ecx
jmp 0x476f56
cmp eax, ecx
jg 0x4771f8
push 0
push ebp
push 0
push 9
push esi
call fcn.00486380
add esp, 0x14
jmp 0x477227
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add ecx, 0xfffffffe
cmp dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x58]
movzx edx, al
movzx eax, byte [esp + 0x60]
cmove edx, eax
inc ecx
mov byte [esp + 0x10], dl
jmp 0x476f56
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x477261
mov eax, 0x718388
jmp 0x47726a
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x18]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x47728b
push edx
push esi
push ecx
call fcn.0049ce60
add esp, 0xc
jmp 0x477294
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
cmp byte [esp + 0x60], 0x34
jne 0x4772ed
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4772be
mov eax, dword [esp + 0x5c]
push 0
push eax
push eax
push 0x13
push esi
call fcn.00486380
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov edx, dword [esp + 0x5c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
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 ebp
pop ebx
add esp, 0x40
ret