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

Disassembly:
push 0xdc
mov eax, 0x57117a
call fcn.0056127f
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 0x475d2b
mov ebx, 0x4000
mov dword [ebp - 0xdc], eax
cmp ecx, ebx
jae 0x475d0a
cmp dword [esi + 0x78], eax
jge 0x475d0a
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 0x475c57
push 0x59009c
call fcn.0040165c
pop ecx
push eax
push 0x59009c
lea ecx, [ebp - 0x2c]
call fcn.00401dc9
imul eax, dword [esi + 0x78], 0x30
push 0x5900a0
add eax, dword [esi]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0044f4c8
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.0044f530
add esp, 0x10
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040ed0f
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.00401d3f
push 0
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.00401d3f
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.004761c4
inc dword [esi + 0x78]
lea ecx, [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
push 0
push 1
call fcn.00401d3f
mov eax, dword [edi + 4]
sub eax, dword [edi]
cmp eax, ebx
mov eax, dword [ebp - 0xdc]
jb 0x475c1e
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 0x476104
lea eax, [ecx + 1]
mov dword [esi + 0x78], eax
jmp 0x476104
xor ebx, ebx
mov dword [ebp - 0xe0], eax
inc ebx
cmp ecx, 0x4000
jae 0x475e6c
cmp dword [esi + 0x78], eax
jge 0x475e6c
lea eax, [esi + 0x5c]
push eax
lea eax, [ebp - 0x8c]
push 0x591c50
push eax
call fcn.0043a27c
push str._r_nContent_Disposition:_form_data__name_
push eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], 3
push eax
call fcn.00436f2f
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.0044f530
push str.__r_n_r_n
push eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 5
push eax
call fcn.00436f2f
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.0044f530
push 0x58fdd4
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push eax
call fcn.00436f2f
add esp, 0x38
push 0
push ebx
lea ecx, [ebp - 0x5c]
call fcn.00401d3f
push 0
push ebx
lea ecx, [ebp - 0x74]
call fcn.00401d3f
push 0
push ebx
lea ecx, [ebp - 0xbc]
call fcn.00401d3f
push 0
push ebx
lea ecx, [ebp - 0xa4]
call fcn.00401d3f
push 0
push ebx
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xd
call fcn.00401d3f
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.004761c4
inc dword [esi + 0x78]
lea ecx, [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
push 0
push ebx
call fcn.00401d3f
mov eax, dword [edi + 4]
sub eax, dword [edi]
cmp eax, 0x4000
mov eax, dword [ebp - 0xe0]
jb 0x475d40
xor ecx, ecx
cmp dword [esi + 0x1c], ecx
setne cl
mov dword [ebp - 0xd8], ecx
test ecx, ecx
jle 0x47606f
add eax, ecx
cmp dword [esi + 0x78], eax
jge 0x47606f
cmp dword [esi + 0x7c], 0xffffffff
jne 0x475fa1
lea eax, [esi + 0x5c]
push eax
lea eax, [ebp - 0x5c]
push 0x591c50
push eax
call fcn.0043a27c
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.00436f2f
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 0xf
push ecx
mov edx, eax
lea ecx, [ebp - 0xbc]
call fcn.0044f530
push str.__r_nContent_Type:
push eax
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x10
push eax
call fcn.00436f2f
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 0x11
push ecx
mov edx, eax
lea ecx, [ebp - 0x8c]
call fcn.0044f530
push str._r_n_r_n
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x12
push eax
call fcn.00436f2f
add esp, 0x38
push 0
push ebx
lea ecx, [ebp - 0x8c]
call fcn.00401d3f
push 0
push ebx
lea ecx, [ebp - 0xa4]
call fcn.00401d3f
push 0
push ebx
lea ecx, [ebp - 0xbc]
call fcn.00401d3f
push 0
push ebx
lea ecx, [ebp - 0x74]
call fcn.00401d3f
push 0
push ebx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x18
call fcn.00401d3f
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.004761c4
mov ecx, dword [esi + 0x3c]
push 0
mov dword [esi + 0x7c], ecx
lea ecx, [ebp - 0x2c]
push ebx
call fcn.00401d3f
mov al, bl
jmp 0x47610e
mov ebx, dword [esi + 0x40]
mov ecx, dword [esi + 0x3c]
lea eax, [ebx + ecx]
cmp dword [esi + 0x7c], eax
jge 0x476029
cmp dword [esi + 0x80], 0
jne 0x475fbf
xor al, al
jmp 0x47610e
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 0x475fdb
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.0043a608
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.0043a608
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 0x47606f
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x47604f
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [esi + 0x80], 0
push dword [ebp - 0xd8]
mov ecx, edi
push 0x58fdd6
push 0x58fdd4
push dword [esi + 0x88]
call fcn.00466217
inc dword [esi + 0x78]
mov eax, dword [ebp - 0xd8]
add eax, dword [ebp - 0xe0]
cmp dword [esi + 0x78], eax
jne 0x476104
lea eax, [esi + 0x5c]
push eax
lea eax, [ebp - 0xd4]
push 0x591c50
push eax
call fcn.0043a27c
push str.___r_n
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0x1b
push eax
call fcn.00436f2f
add esp, 0x18
push 0
push 1
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x1d
call fcn.00401d3f
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.004761c4
inc dword [esi + 0x78]
lea ecx, [ebp - 0x44]
push 0
push 1
call fcn.00401d3f
mov ecx, dword [edi]
xor eax, eax
cmp ecx, dword [edi + 4]
setne al
call fcn.005611d1
ret