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

Disassembly:
push 0xdc
mov eax, 0x5736e0
call fcn.0056361b
mov esi, ecx
mov eax, dword [esi + 4]
lea edi, [esi + 0x84]
sub eax, dword [esi]
push 0x30
pop ecx
cdq
idiv ecx
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
cmp dword [esi + 0x1c], 0
jne 0x474ec5
mov ebx, 0x4000
mov dword [ebp - 0xdc], eax
cmp ecx, ebx
jae 0x474ea4
cmp dword [esi + 0x78], eax
jge 0x474ea4
xor eax, eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
mov dword [ebp - 4], eax
cmp dword [esi + 0x78], eax
je 0x474df1
push 0x59384c
call fcn.004015dc
pop ecx
push eax
push 0x59384c
lea ecx, [ebp - 0x2c]
call fcn.00401d49
imul eax, dword [esi + 0x78], 0x30
push 0x593850
add eax, dword [esi]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0044e89f
mov byte [ebp - 4], 1
mov edx, eax
imul ecx, dword [esi + 0x78], 0x30
add ecx, 0x18
add ecx, dword [esi]
push ecx
lea ecx, [ebp - 0x44]
call fcn.0044e907
add esp, 0x10
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040ec1d
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.00401cbf
push 0
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.00401cbf
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
push dword [ebp - 0xd8]
add eax, ecx
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
push eax
push ecx
push dword [esi + 0x88]
mov ecx, edi
call fcn.0047535e
inc dword [esi + 0x78]
lea ecx, [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
push 0
push 1
call fcn.00401cbf
mov eax, dword [edi + 4]
sub eax, dword [edi]
cmp eax, ebx
mov eax, dword [ebp - 0xdc]
jb 0x474db8
mov eax, dword [esi + 4]
sub eax, dword [esi]
push 0x30
cdq
pop ebx
idiv ebx
mov ecx, dword [esi + 0x78]
cmp ecx, eax
jne 0x47529e
lea eax, [ecx + 1]
mov dword [esi + 0x78], eax
jmp 0x47529e
xor ebx, ebx
mov dword [ebp - 0xe0], eax
inc ebx
cmp ecx, 0x4000
jae 0x475006
cmp dword [esi + 0x78], eax
jge 0x475006
lea eax, [esi + 0x5c]
push eax
lea eax, [ebp - 0x8c]
push 0x595400
push eax
call fcn.00439501
push str._r_nContent_Disposition:_form_data__name_
push eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], 3
push eax
call fcn.004361b4
mov byte [ebp - 4], 4
mov edx, eax
imul ecx, dword [esi + 0x78], 0x30
add ecx, dword [esi]
push ecx
lea ecx, [ebp - 0xbc]
call fcn.0044e907
push str.__r_n_r_n
push eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 5
push eax
call fcn.004361b4
mov byte [ebp - 4], 6
mov edx, eax
imul ecx, dword [esi + 0x78], 0x30
add ecx, 0x18
add ecx, dword [esi]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.0044e907
push 0x593584
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push eax
call fcn.004361b4
add esp, 0x38
push 0
push ebx
lea ecx, [ebp - 0x5c]
call fcn.00401cbf
push 0
push ebx
lea ecx, [ebp - 0x74]
call fcn.00401cbf
push 0
push ebx
lea ecx, [ebp - 0xbc]
call fcn.00401cbf
push 0
push ebx
lea ecx, [ebp - 0xa4]
call fcn.00401cbf
push 0
push ebx
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xd
call fcn.00401cbf
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
push dword [ebp - 0xd8]
add eax, ecx
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
push eax
push ecx
push dword [esi + 0x88]
mov ecx, edi
call fcn.0047535e
inc dword [esi + 0x78]
lea ecx, [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
push 0
push ebx
call fcn.00401cbf
mov eax, dword [edi + 4]
sub eax, dword [edi]
cmp eax, 0x4000
mov eax, dword [ebp - 0xe0]
jb 0x474eda
xor ecx, ecx
cmp dword [esi + 0x1c], ecx
setne cl
mov dword [ebp - 0xd8], ecx
test ecx, ecx
jle 0x475209
add eax, ecx
cmp dword [esi + 0x78], eax
jge 0x475209
cmp dword [esi + 0x7c], 0xffffffff
jne 0x47513b
lea eax, [esi + 0x5c]
push eax
lea eax, [ebp - 0x5c]
push 0x595400
push eax
call fcn.00439501
push str._r_nContent_Disposition:_form_data__name_file___filename_
push eax
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 0xe
push eax
call fcn.004361b4
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 0xf
push ecx
mov edx, eax
lea ecx, [ebp - 0xbc]
call fcn.0044e907
push str.__r_nContent_Type:
push eax
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x10
push eax
call fcn.004361b4
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 0x11
push ecx
mov edx, eax
lea ecx, [ebp - 0x8c]
call fcn.0044e907
push str._r_n_r_n
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x12
push eax
call fcn.004361b4
add esp, 0x38
push 0
push ebx
lea ecx, [ebp - 0x8c]
call fcn.00401cbf
push 0
push ebx
lea ecx, [ebp - 0xa4]
call fcn.00401cbf
push 0
push ebx
lea ecx, [ebp - 0xbc]
call fcn.00401cbf
push 0
push ebx
lea ecx, [ebp - 0x74]
call fcn.00401cbf
push 0
push ebx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x18
call fcn.00401cbf
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
push dword [ebp - 0xd8]
add eax, ecx
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
push eax
push ecx
push dword [esi + 0x88]
mov ecx, edi
call fcn.0047535e
mov ecx, dword [esi + 0x3c]
push 0
mov dword [esi + 0x7c], ecx
lea ecx, [ebp - 0x2c]
push ebx
call fcn.00401cbf
mov al, bl
jmp 0x4752a8
mov ebx, dword [esi + 0x40]
mov ecx, dword [esi + 0x3c]
lea eax, [ebx + ecx]
cmp dword [esi + 0x7c], eax
jge 0x4751c3
cmp dword [esi + 0x80], 0
jne 0x475159
xor al, al
jmp 0x4752a8
sub ebx, dword [esi + 0x7c]
mov eax, dword [edi + 4]
add ebx, ecx
sub eax, dword [edi]
mov ecx, 0x8000
add eax, ebx
cmp eax, ecx
jbe 0x475175
mov ebx, dword [edi]
sub ebx, dword [edi + 4]
add ebx, ecx
mov eax, dword [edi + 4]
mov ecx, edi
sub eax, dword [edi]
mov dword [ebp - 0xdc], eax
add eax, ebx
push eax
call fcn.0043988d
mov edx, dword [edi]
add edx, dword [ebp - 0xdc]
mov dword [ebp - 4], 0x19
mov ecx, dword [esi + 0x80]
push 0
push ebx
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0xdc]
mov ebx, eax
add ecx, ebx
mov dword [ebp - 0xe4], edx
push ecx
mov ecx, edi
call fcn.0043988d
add dword [esi + 0x7c], ebx
or dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 0x40]
add eax, dword [esi + 0x3c]
cmp dword [esi + 0x7c], eax
jne 0x475209
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x4751e9
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [esi + 0x80], 0
push dword [ebp - 0xd8]
mov ecx, edi
push 0x593586
push 0x593584
push dword [esi + 0x88]
call fcn.0046564c
inc dword [esi + 0x78]
mov eax, dword [ebp - 0xd8]
add eax, dword [ebp - 0xe0]
cmp dword [esi + 0x78], eax
jne 0x47529e
lea eax, [esi + 0x5c]
push eax
lea eax, [ebp - 0xd4]
push 0x595400
push eax
call fcn.00439501
push str.___r_n
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0x1b
push eax
call fcn.004361b4
add esp, 0x18
push 0
push 1
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x1d
call fcn.00401cbf
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x34]
cmovae ecx, dword [ebp - 0x44]
push dword [ebp - 0xd8]
add eax, ecx
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
push eax
push ecx
push dword [esi + 0x88]
mov ecx, edi
call fcn.0047535e
inc dword [esi + 0x78]
lea ecx, [ebp - 0x44]
push 0
push 1
call fcn.00401cbf
mov ecx, dword [edi]
xor eax, eax
cmp ecx, dword [edi + 4]
setne al
call fcn.0056356d
ret