Function at 0x407820
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447cf6
mov eax, dword fs:[0]
push eax
mov eax, 0x1b3c
call fcn.0043b8c0
mov eax, dword [0x45b480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x1aec], eax
mov dword [ebp - 0x1ae4], eax
lea ecx, [esi + 0x40]
lea ebx, [ebp - 0x1ae4]
lea eax, [ebp - 0x1af8]
mov dword [ebp - 0x1adc], esi
call fcn.00408400
mov ecx, dword [ebp - 0x1af8]
cmp ecx, dword [esi + 0x44]
je 0x40788d
mov eax, dword [ecx + 0x10]
jmp 0x407890
or eax, 0xffffffff
mov ecx, dword [esi + 0x30]
shl eax, 5
cmp dword [eax + ecx + 8], 1
mov dword [ebp - 0x1af4], eax
je 0x4081d4
mov edx, dword [eax + ecx]
cmp edx, dword [esi + 0x28]
jne 0x4078b4
mov ebx, dword [esi + 0x2c]
jmp 0x4078b8
mov ebx, dword [eax + ecx + 4]
test ebx, ebx
je 0x40792d
mov eax, dword [ebp - 0x1adc]
mov ecx, 0xb3
mov esi, ebx
lea edi, [ebp - 0x1ad8]
push pe_nt_image_headers32
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x1180]
push 0
push ecx
mov dword [0x5738f8], eax
call fcn.00434e30
mov edx, dword [ebp - 0x1adc]
mov eax, 3
add esp, 0xc
cmp word [edx + 4], 0
mov dword [ebp - 0x1174], eax
mov dword [ebp - 0x1154], eax
mov dword [ebp - 0x1144], eax
mov dword [ebp - 0x1134], eax
je 0x407937
push 0x232
push str.srcGbMiniDumpReader.cpp
push 0x455130
call fcn.0042d69f
add esp, 0xc
mov eax, 1
jmp 0x4081d6
mov eax, dword [ebx + 0xb8]
xor esi, esi
push esi
push 0x408320
push 0x408300
mov dword [ebp - 0x1180], eax
mov dword [ebp - 0x117c], esi
mov ecx, dword [ebx + 0xc4]
push 0x408200
mov dword [ebp - 0x1150], ecx
mov ecx, dword [ebp - 0x1aec]
push esi
mov dword [ebp - 0x114c], esi
mov edx, dword [ebx + 0xb4]
lea eax, [ebp - 0x1180]
push eax
mov dword [ebp - 0x1160], edx
mov edx, dword [ebp - 0x1adc]
mov eax, dword [edx]
push ecx
push eax
push 0x14c
mov dword [ebp - 0x115c], esi
call dword [0x573920]
cmp eax, esi
je 0x407c97
jmp 0x4079b2
xor esi, esi
mov eax, dword [0x460f4c]
mov dword [ebp - 0x1b24], eax
mov dword [ebp - 0x1b18], eax
or eax, 0xffffffff
mov dword [ebp - 0x1b28], eax
mov dword [ebp - 0x1b20], esi
mov dword [ebp - 0x1b1c], esi
mov dword [ebp - 0x1b14], eax
mov dword [ebp - 4], esi
mov edi, dword [ebp - 0x1180]
mov ebx, dword [ebp - 0x117c]
push 0x688
lea ecx, [ebp - 0x1808]
push esi
push ecx
mov dword [ebp - 0x1b30], edi
mov dword [ebp - 0x1b2c], ebx
call fcn.00434e30
mov eax, dword [ebp - 0x1adc]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [ebp - 0x1808]
push edx
push ebx
push edi
push ecx
mov dword [ebp - 0x1808], 0x688
call dword [0x573910]
cmp eax, esi
je 0x407a83
mov edx, dword [ebp - 0x1800]
mov esi, dword [ebp - 0x1adc]
mov eax, dword [ebp - 0x17fc]
lea ecx, [ebp - 0x1ae4]
mov dword [ebp - 0x1b00], edx
push ecx
lea edx, [esi + 0x60]
push edx
lea ebx, [ebp - 0x1b00]
mov dword [ebp - 0x1afc], eax
call fcn.004085f0
mov ecx, dword [ebp - 0x1ae4]
cmp ecx, dword [esi + 0x64]
je 0x407a78
mov eax, dword [ecx + 0x18]
jmp 0x407a7b
or eax, 0xffffffff
mov dword [ebp - 0x1b28], eax
xor esi, esi
mov edx, dword [ebp - 0x117c]
lea eax, [ebp - 0x1020]
push eax
mov eax, dword [ebp - 0x1180]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x1adc]
push edx
mov edx, dword [ecx]
push eax
push edx
mov dword [ebp - 0x1020], 0x58
mov dword [ebp - 0xfd0], 0xfa7
call dword [0x57391c]
cmp eax, esi
je 0x407b31
lea eax, [ebp - 0xfcc]
push eax
mov eax, dword [ebp - 0xfd4]
lea edi, [ebp - 0x1af0]
call fcn.00405830
lea ecx, [ebp - 0x1b24]
mov byte [ebp - 4], 1
call fcn.00405900
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1af0]
lea ecx, [eax - 0xc]
cmp ecx, 0x460f3c
je 0x407b1f
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x407b1f
mov eax, dword [ebp - 0x1af0]
add eax, 0xfffffff4
push eax
call fcn.0042ce4b
add esp, 4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1b20], edx
mov dword [ebp - 0x1b1c], eax
mov eax, dword [ebp - 0x117c]
lea ecx, [ebp - 0x1b48]
push ecx
mov ecx, dword [ebp - 0x1180]
lea edx, [ebp - 0x1af8]
push edx
mov edx, dword [ebp - 0x1adc]
push eax
mov eax, dword [edx]
push ecx
push eax
call dword [0x573918]
cmp eax, esi
je 0x407b93
mov eax, dword [ebp - 0x1b3c]
mov edi, eax
cmp eax, esi
jne 0x407b70
xor eax, eax
jmp 0x407b77
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
mov edi, eax
lea esi, [ebp - 0x1b18]
call fcn.00403690
mov ecx, dword [ebp - 0x1b40]
mov dword [ebp - 0x1b14], ecx
xor esi, esi
mov edx, dword [ebp - 0x1adc]
mov eax, dword [edx + 0x30]
mov ecx, dword [ebp - 0x1af4]
lea edi, [ecx + eax + 0x10]
mov eax, dword [edi + 4]
lea edx, [ebp - 0x1b30]
cmp edx, eax
jae 0x407bdd
mov ecx, dword [edi]
cmp ecx, edx
ja 0x407bdd
mov esi, edx
sub esi, ecx
cmp eax, dword [edi + 8]
jne 0x407bc9
mov ecx, edi
call fcn.00408720
mov eax, dword [edi + 4]
and esi, 0xffffffe0
add esi, dword [edi]
mov byte [ebp - 4], 2
test eax, eax
je 0x407c00
mov ebx, esi
jmp 0x407bfa
cmp eax, dword [edi + 8]
jne 0x407be9
mov ecx, edi
call fcn.00408720
mov eax, dword [edi + 4]
mov byte [ebp - 4], 3
cmp eax, esi
je 0x407c00
lea ebx, [ebp - 0x1b30]
push eax
call fcn.0040a560
add dword [edi + 4], 0x20
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x1b18]
lea eax, [esi - 0xc]
cmp eax, 0x460f3c
je 0x407c32
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x407c32
push esi
call fcn.0042ce4b
add esp, 4
mov esi, dword [ebp - 0x1b24]
lea ecx, [esi - 0xc]
cmp ecx, 0x460f3c
je 0x407c5a
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x407c5a
push esi
call fcn.0042ce4b
add esp, 4
mov eax, dword [ebp - 0x1aec]
mov ecx, dword [ebp - 0x1adc]
push 0
push 0x408320
push 0x408300
push 0x408200
push 0
lea edx, [ebp - 0x1180]
push edx
mov edx, dword [ecx]
push eax
push edx
push 0x14c
call dword [0x573920]
test eax, eax
jne 0x4079b0
mov edi, dword [0x460f4c]
mov dword [ebp - 0x1ae8], edi
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x1adc]
push esi
push eax
mov dword [ebp - 4], 4
call fcn.00407480
test eax, eax
js 0x407d57
lea ecx, [eax*8]
sub ecx, eax
mov edx, ebx
mov eax, dword [edx + 0x50]
lea eax, [eax + ecx*8]
mov ecx, dword [ebp + 0xc]
sub ecx, dword [eax]
mov dword [ebp - 0x1ae0], edi
sbb esi, dword [eax + 4]
push esi
push ecx
mov byte [ebp - 4], 5
mov ecx, dword [eax + 0x10]
push ecx
push str.Exception_Address:_s_0x_I64x_n
lea edx, [ebp - 0x1ae0]
call fcn.00405a50
mov eax, dword [ebp - 0x1ae0]
add esp, 0x10
push eax
mov eax, dword [eax - 8]
lea ecx, [ebp - 0x1ae8]
call fcn.00405ed0
mov edx, dword [ebp + 0x14]
push edx
push str.Exception_Code:0x_08x_n
lea edx, [ebp - 0x1ae0]
call fcn.00405a50
mov eax, dword [ebp - 0x1ae0]
add esp, 8
push eax
mov eax, dword [eax - 8]
lea ecx, [ebp - 0x1ae8]
call fcn.00405ed0
lea esi, [ebp - 0x1ae0]
mov byte [ebp - 4], 4
call fcn.004035c0
mov edi, dword [0x460f4c]
mov eax, dword [ebp - 0x1adc]
mov ecx, dword [eax + 0x30]
mov edx, dword [ebp - 0x1af4]
lea eax, [edx + ecx + 0x10]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov dword [ebp - 0x1ae4], 0
sar ecx, 5
test ecx, ecx
je 0x40802f
mov dword [ebp - 0x1af0], 0
jmp 0x407d96
mov edi, dword [0x460f4c]
mov esi, dword [eax]
add esi, dword [ebp - 0x1af0]
mov dword [ebp - 0x1aec], edi
mov dword [ebp - 0x1b10], edi
mov dword [ebp - 0x1af8], edi
mov dword [ebp - 0x1afc], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1b0c], edi
mov byte [ebp - 4], 0xb
mov eax, dword [esi + 8]
test eax, eax
js 0x407e06
mov edi, dword [ebp - 0x1adc]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [edi + 0x50]
lea eax, [eax + edx*8 + 0x10]
lea ecx, [ebp - 0x1aec]
call fcn.00405900
mov ecx, dword [esi + 8]
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [edi + 0x50]
mov edx, dword [ecx + eax*8]
sub dword [esi], edx
mov eax, dword [ecx + eax*8 + 4]
sbb dword [esi + 4], eax
lea eax, [esi + 0xc]
lea ecx, [ebp - 0x1af8]
call fcn.00405900
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
push edx
push str.0x_I64x
lea edx, [ebp - 0x1b10]
call fcn.00405a50
add esp, 0xc
lea eax, [esi + 0x18]
lea ecx, [ebp - 0x14]
call fcn.00405900
mov eax, dword [esi + 0x1c]
push eax
push 0x454fa8
lea edx, [ebp - 0x1b0c]
call fcn.00405a50
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
push ecx
push edx
push str.0x_I64x
lea edx, [ebp - 0x1afc]
call fcn.00405a50
mov eax, dword [0x460f4c]
add esp, 0x14
mov dword [ebp - 0x1ae0], eax
lea eax, [ebp - 0x1aec]
lea ecx, [ebp - 0x1ae0]
mov byte [ebp - 4], 0xc
call fcn.00405900
mov ecx, dword [ebp - 0x1ae0]
cmp dword [ecx - 8], 0
je 0x407eaf
push 0x455174
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x455174
lea ecx, [ebp - 0x1ae0]
call fcn.00405ed0
mov ebx, dword [ebp - 0x1b10]
mov eax, dword [ebx - 8]
push ebx
lea ecx, [ebp - 0x1ae0]
call fcn.00405ed0
mov esi, dword [ebp - 0x1ae0]
mov eax, dword [esi - 8]
push esi
lea ecx, [ebp - 0x1ae8]
call fcn.00405ed0
push 0x454f7c
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x454f7c
lea ecx, [ebp - 0x1ae8]
call fcn.00405ed0
lea edx, [esi - 0xc]
cmp edx, 0x460f3c
je 0x407f1a
lea edi, [esi - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push edi
call esi
test eax, eax
jg 0x407f20
push edi
call fcn.0042ce4b
add esp, 4
jmp 0x407f20
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [ebp - 0x1b0c]
lea ecx, [eax - 0xc]
cmp ecx, 0x460f3c
je 0x407f44
lea edi, [eax - 0xc]
push edi
call esi
test eax, eax
jg 0x407f44
push edi
call fcn.0042ce4b
add esp, 4
mov eax, dword [ebp - 0x14]
lea edx, [eax - 0xc]
cmp edx, 0x460f3c
je 0x407f65
lea edi, [eax - 0xc]
push edi
call esi
test eax, eax
jg 0x407f65
push edi
call fcn.0042ce4b
add esp, 4
mov eax, dword [ebp - 0x1afc]
lea ecx, [eax - 0xc]
cmp ecx, 0x460f3c
je 0x407f89
lea edi, [eax - 0xc]
push edi
call esi
test eax, eax
jg 0x407f89
push edi
call fcn.0042ce4b
add esp, 4
mov eax, dword [ebp - 0x1af8]
lea edx, [eax - 0xc]
cmp edx, 0x460f3c
je 0x407fad
lea edi, [eax - 0xc]
push edi
call esi
test eax, eax
jg 0x407fad
push edi
call fcn.0042ce4b
add esp, 4
lea eax, [ebx - 0xc]
cmp eax, 0x460f3c
je 0x407fca
lea edi, [ebx - 0xc]
push edi
call esi
test eax, eax
jg 0x407fca
push edi
call fcn.0042ce4b
add esp, 4
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1aec]
add ecx, 0xfffffff4
cmp ecx, 0x460f3c
je 0x407ff8
mov edi, dword [ebp - 0x1aec]
add edi, 0xfffffff4
push edi
call esi
test eax, eax
jg 0x407ff8
push edi
call fcn.0042ce4b
add esp, 4
mov edx, dword [ebp - 0x1adc]
mov eax, dword [edx + 0x30]
mov edx, dword [ebp - 0x1af4]
mov ecx, dword [ebp - 0x1ae4]
add dword [ebp - 0x1af0], 0x20
lea eax, [edx + eax + 0x10]
mov edx, dword [eax + 4]
sub edx, dword [eax]
inc ecx
sar edx, 5
mov dword [ebp - 0x1ae4], ecx
cmp ecx, edx
jb 0x407d90
mov eax, dword [ebp - 0x1ae8]
cmp dword [eax - 8], 0
je 0x408195
xor eax, eax
mov dword [ebp - 0x1b08], eax
mov dword [ebp - 0x1b04], eax
mov dword [ebp - 0x1b00], eax
lea ecx, [ebp - 0x1b08]
mov byte [ebp - 4], 0xd
mov ebx, dword [ebp - 0x1ae8]
push ecx
call fcn.00406200
mov edx, dword [0x5738c4]
mov ecx, dword [edx + 0x18]
xor ebx, ebx
cmp ecx, ebx
je 0x40808a
call sym.TQMWatcher.exe_GbCollectorSetDeleteDump
cmp ecx, ebx
je 0x40808a
push eax
call sym.TQMWatcher.exe_GbCollectorSetDeleteDump
add esp, 4
mov ecx, eax
mov dword [ebp - 0x1064], ebx
mov dword [ebp - 0x1068], ebx
mov dword [ebp - 0x1078], 0x67452301
mov dword [ebp - 0x1074], 0xefcdab89
mov dword [ebp - 0x1070], 0x98badcfe
mov dword [ebp - 0x106c], 0x10325476
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x4080c3
sub ecx, esi
push eax
mov eax, ecx
lea ecx, [ebp - 0x1078]
call fcn.0040d990
lea esi, [ebp - 0x1078]
lea ebx, [ebp - 0x20]
call fcn.0040da50
mov ebx, dword [ebp - 0x1af4]
xor edi, edi
mov eax, dword [0x460f4c]
mov dword [ebp - 0x1ae4], eax
mov byte [ebp - 4], 0xe
movzx ecx, byte [ebp + edi - 0x20]
push ecx
push str._02x
lea edx, [ebp - 0x1ae4]
call fcn.00405a50
mov edx, dword [ebp - 0x1adc]
mov eax, dword [edx + 0x30]
mov esi, dword [ebp - 0x1ae4]
add esp, 8
lea ecx, [ebx + eax + 0xc]
mov eax, dword [esi - 8]
push esi
call fcn.00405ed0
lea ecx, [esi - 0xc]
mov byte [ebp - 4], 0xd
cmp ecx, 0x460f3c
je 0x40815a
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40815a
push esi
call fcn.0042ce4b
add esp, 4
inc edi
cmp edi, 0x10
jb 0x4080f0
mov edi, dword [ebp - 0x1b04]
mov ebx, dword [ebp - 0x1b08]
sub edi, ebx
sar edi, 2
xor esi, esi
test edi, edi
je 0x408188
mov edx, dword [ebx + esi*4]
push edx
call fcn.0042ce4b
inc esi
add esp, 4
cmp esi, edi
jb 0x408177
test ebx, ebx
je 0x408195
push ebx
call fcn.0042cd06
add esp, 4
mov eax, dword [ebp - 0x1adc]
mov ecx, dword [eax + 0x30]
mov edx, dword [ebp - 0x1af4]
mov eax, dword [ebp - 0x1ae8]
mov dword [edx + ecx + 8], 1
lea ecx, [eax - 0xc]
cmp ecx, 0x460f3c
je 0x4081d4
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4081d4
push esi
call fcn.0042ce4b
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042cb12
mov esp, ebp
pop ebp
ret 0x10